IE and other multi-window browser at the same time to open multiple Windows login system after the session sprang
I found that when you open a page in the browser login, such as after logging in with A1 account, the display is A1 after a new page opened in the browser A2 login, the current page display is A2, but to the previous browser refresh found that the login account has become A2, how to avoid.
Share to:
------Solution--------------------
You can use a two-dimensional array to implement
First login, session[' admin '][user1]
Second login, session[' admin '][user2]
Determine login can be used session[' admin '
Determine which user can use [user1] and [User2]
User1 and User2 can be the user name of the database.
------Solution--------------------
References:
You can use a two-dimensional array to implement
First login, session[' admin '][user1]
Second login, session[' admin '][user2]
Determine login can be used session[' admin '
Determine which user can use [user1] and [User2]
User1 and User2 can be the user name of the database
.
Think, the above method seems to be used only in two different pages, if it is the same page, seemingly can not achieve
Never done this kind of thing, just a pure thought.
------Solution--------------------
Reference:
Quote: Reference:
You can restart a browser process.
In a multi-tabbed browser, each tab shares a cookie
This is how the browser is designed, unless you want to modify the browser's kernel
specific point
Is this more specific?
This is the user to adapt to the problem, it should not be an IE two times login, the user should understand this, to login two accounts open two IE