IE and other multi-window browsers open multiple windows at the same time and log on to the system, the SESSION crashes.

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.