I think I read the question wrong. If you only have one browser open and user1 logs in then user2 uses the same browser instance and logs in the session will then contain the data for user2. There is only one session object for a browser instance.
-----Original Message----- From: Roland Dong [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 08, 2002 12:26 PM To: [EMAIL PROTECTED] Subject: How to keep two sessions with the same browser? I have a problem with session. When the second user login, it overrides the first user's session. Does it means I could not keep two different sessions for different users? Please help =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com