It's not a secret anymore!*
The moose likes Servlets and the fly likes Sessions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Sessions" Watch "Sessions" New topic
Author

Sessions

Raghavendra Holla
Ranch Hand

Joined: Jun 02, 2000
Posts: 58
Hello All,
I want to associate every browser window to a session. Browser window can be from same browser(I.E. or Netscape). But once I create a session, and then I open an another new browser window session id is shared between two browser windows. How can I control this? He there any tricks or hints? Thanks for any help.
Regards
RAghavendra Holla.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12682
    
    5
You can always use hidden variables in forms or URL rewriting to distinguish between the pages displayed on different windows.
Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sessions
 
Similar Threads
Web Page close on TimeOut
Servlet session
HFSJ Final Mock Question 47
How to track HttpSession ID
Killing session objects when browser window closes