How can I have a different httpSession object for:1. Each browser window(s) of same instance of browser
2. Each browser instance

Ryan Breidenbach



Most session management is done through cookies. If there are two seperate windows running the same browser (e.g. Netscape), they will use the session. That is because both windows will look in the same directory for the cookie they are using to maintain state. If each window was to have their own session, there would be know way to determine which session belongs to which window.

However, if there are two windows with two different browser applications (e.g. Netscape and IE), they will each use different sessions because they will use different cookies.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact