session override

I use session to save user login information, but if a browser logs in to two accounts at the same time, the latter one will overwrite the previous session, which means that the information of the previous login is wrong.

Problem description: When the user logs in, the session is used to save the user's information. When doing the Taobao complaint function, the buyer logs in first, and then the seller logs in. This is on the same computer, and the actual situation is not like this.

Solution:

In order to demonstrate on one computer, different users can use different browsers, for example: buyers use ie to log in, and sellers use Firefox to log in.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326448236&siteId=291194637