Please bear with me if I am not familiar with Tomcat.  What will happen
when a user go to two different sites that both run tomcat?  A user goes
to site 1 and has a session in the site 1.  And then the user logins to
the site 2 and has the session in site 2.  At this point, will the
cookie get overwritten since both cookie names for both sites are the
same?  If so, the user would lose the session when the user goes back to
site 1.  How to handle this situation?

BTW, where can I get the spec.?


Thanks,
Connie

 -----Original Message-----
From:   Milt Epstein [mailto:[EMAIL PROTECTED]] 
Sent:   Wednesday, April 04, 2001 12:18 PM
To:     [EMAIL PROTECTED]
Subject:        Re: session + cookie

On Wed, 4 Apr 2001, Connie Chan wrote:

> Hi,
> 
> My application handles session via cookies.  I notice that Tomcat, by
> default, sets the cookie name to JSESSIONID.  Is there any ways I can
> rename the cookie name?

I don't believe so -- the session id cookie name is mandated by the
spec.

Why do you want to, i.e. what are you trying to do?

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


Reply via email to