IE and other multi-window browsers open multiple windows at the same time, log on to the system, and the SESSION hits. I found that when a page is opened in the browser and logged on, for example, after logging on with the A1 account, after A1 is pressed and a new page A2 is opened in the browser, the current page is displayed as A2. However, after refreshing in the browser, the logon account is also changed to A2. how to avoid this problem. IE and other multi-window browsers open multiple windows at the same time, log on to the system and the SESSION crashes.
I found that when I open a page in the browser to log on, for example, after I log on with the A1 account, it is displayed as A1, and then open a new page in the browser. after A2 is logged on, the current page is displayed as A2, however, after refreshing the browser, I found that the logon account has also changed to A2. how can I avoid this problem.
Share:
------ Solution --------------------
Two-dimensional array can be used for implementation.
First login, SESSION ['admin'] [user1]
Second login, SESSION ['admin'] [user2]
You can use SESSION ['admin'] to determine logon.
Determine which user can use [user1] and [user2]
User1 and user2 can be user names called by the database.
------ Solution --------------------
Reference:
Two-dimensional array can be used for implementation.
First login, SESSION ['admin'] [user1]
Second login, SESSION ['admin'] [user2]
You can use SESSION ['admin'] to determine logon.
Determine which user can use [user1] and [user2]
User1 and user2 can be user names called by the database.
After thinking about it, the above method seems to be used only on two different pages. if it is the same page, it seems that it cannot be implemented.
I have never done this kind of thing, but it's just a pure idea.
------ Solution --------------------
Reference:
Quote: reference:
You can restart a browser process.
In a multi-tag browser, each tab shares a cookie
The browser is designed in this way, unless you modify the browser kernel
Specific?
How specific is this?
This is a problem that users can adapt to. in this case, they should not log on to an ie account twice. the user should understand this. to log on to two accounts, open two ie accounts.