File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12671
    
    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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Sessions
 
Similar Threads
How to track HttpSession ID
HFSJ Final Mock Question 47
Killing session objects when browser window closes
Servlet session
Web Page close on TimeOut