Thank you for the information. I am not aware of URL rewriting. I will go
through the tutorial.
Thanks again
Madhavi

-----Original Message-----
From: Martin Kuba [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 24, 1999 11:31 AM
To: [EMAIL PROTECTED]
Subject: Re: sessions independent of browsers


Madhavi Karanam wrote:
>
> When we do a "ctrl + n", we get a new browser window. Session gets copied
> for the new window. Is there anyway to restrict to one window. Session
> behaves weird in these cases. If we logoff from one window and logon with
> different user-id then the old window also responds to the new user-id.
Any
> information about this would be of great help for me.
> Madhavi

It's because all windows of one browser share cookies and you are keeping
sessions with cookies. If you want to have different sessions in different
windows of one browser, use URL rewriting for keeping sessions.

If you don't understand what I am talking about, read the tutorial at
http://java.sun.com/docs/books/tutorial/servlets/client-state/index.html

Martin

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   INET, a.s.                          Mgr. Martin Kuba
Kralovopolska 139                  e-mail: [EMAIL PROTECTED]
  601 12 Brno                      WWW: http://www.inet.cz/~makub/
 Czech Republic                    tel: +420-5-41242414/32
--------------------------------------------------------------------
PGP fingerprint = D8 57 47 E5 36 D2 C1 A1  C3 48 B2 59 00 58 42 27
 http://wwwkeys.cz.pgp.net:11371/pks/lookup?op=index&search=makub
--------------------------------------------------------------------

___________________________________________________________________________
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