Cookie preservation and recognition is differentiated from the browser, because the cookie is generated by the browser, different browsers have different ways to save.
Session, I tried, and found that is also differentiated browser, a browser generated session information can not be accessed by the B browser, why? Isn't he server-generated, and how does it relate to a local browser?
Reply to discussion (solution)
Different browsers will produce different sessions when you close the browser, the session will disappear in theory.
The session is in effect via a cookie that passes the SessionID.
The session is a moderator who passes the SessionID through the cookie V5
Each request server generates a session and sends a cookie to the browser to record.
1. Each browser is not the same place to store cookies, the browser's direct kernel is different, so it is impossible to read each other cookie!
2. As the nagging boss said, the ID value of the session is based on the cookie, but can also be passed through the value of the URL
3. Individual browsers want to share cookies can be implemented by flash
The data in the cookie is stored in plaintext in the client.
Although the session also passes the data through a cookie, it is just an index ID of the data stored on the server.
High-end atmosphere of the grade
Each browser window corresponds to a session
Remember, it's like you're in the same browser. Two windows they're not the same session.