I want to be logged in as a different user in each tab of the same browser so that I can perform multiple tasks. Could you please let me know how I can achieve this behavior?
Example : I have two users test1 and test2. I want to be logged in as both users in different tabs of the same browser .
Log in as test1: Open a regular browsing window, navigate to the website where you want to log in as test1, and log in with the credentials for test1. Log in as test2 :Open a new tab on same browser, navigate to the same website and log in with the credentials for test2. This will allow you to be logged in as test1 in one tab and test2 in another tab within the same browser.
- ABP Framework version: v7.3.2
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): no
9 Answer(s)
-
0
The only way is you can use privacy window
-
0
Did you mean by incognito window ?
Is there any way to do the same functionality on same browser so that i can achieve the same behavior ?
-
0
Did you mean by incognito window ?
Yes.
Is there any way to do the same functionality on same browser so that i can achieve the same behavior ?
No, Just like you can't log into two twitter accounts at the same time in the same browser.
You can quickly switch between accounts using the linked account feature provided by ABP.
-
0
Can't we override the default behavior provided by ABP ?
-
0
Can't we override the default behavior provided by ABP ?
I didn't get it, what default behavior?
-
0
I mean to say that ,If I want to log in as another user on the same browser, by default ABP will log out the previous user and then log in the new user. So, can I override this functionality ?
-
0
It's not about ABP's behavior but Browser.
The tabs share the same cookies. That's why I said it's not possible.
Three options:
- Use the incognito window
- Use the linked account
- Use the another browser
-
0
Can we use session storage rather than local storage or cookies to store user and token information ? Default ABP store these stuff into the local storge of browser.
-
0
Unfortunately this cannot be done