Hi,

Do you generate the pages for the different browser windows dynamically?
If so, what about adding some hidden element to the different dynamically
generated html pages? If it is a form with a submit button you could use:
<input type=hidden name="window" value="<some id>">

If there are only normal links on the generated page, add the parameter to
the link like:
...mylink?window&id...

In the servlet's doGet or doPost method you could receive the id with:
String id = request.getParameter("window");

I hope I understood your problem right.

 Klaus

-----Original Message-----
From: Neeraj Arora [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 31, 1999 8:58 AM
To: [EMAIL PROTECTED]
Subject: Session Id problem!!


Hi to all,

I am facing one problem that when I open multiple instances(in different
browser windows)
of my site same session Id is given to all different instances.
Even I tried to use synchronization for

            request.getSession(true);

                                         but still its giving the same
id.This poses a problem doing
user specific tasks.

Neeraj


Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://my.lycos.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to