File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


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.
RAghavendra Holla.
William Brogden
Author and all-around good cowpoke

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

Java Resources at
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