tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Changing session-cookie(JSESSIONID) name in tomat
Date Mon, 23 Aug 2004 16:28:36 GMT

No, this name is mandated by the Servlet Specification.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Dineshram Villuri []
>Sent: Monday, August 23, 2004 12:27 PM
>Subject: Changing session-cookie(JSESSIONID) name in tomat
>Is there a way we can change JSESSIONID name? I mean can we have a
>cookie name to store sessionid? If yes how I can configure it in
>I have two applications running on different tomcats in the same
>box. Both applications use the same authentication mechanism (wherein
>users are logged in with the same username the earlier one is kicked
>out/logged off). At any time there should be only one user logged in
>the same user name. Though both these use the same mechanism they are 2
>independent application but for some weird reasons should run on the
>Now we understand that the problem is with the cookie-name JSESSIONID.
>both the applications are having the same cookie name(JSESSIONID) if
>user logs on into app1 and an other one is logged on to app2(diff
>with the same username the earlier one is kicked out.
>We are facing this problem only when 2 tomcats are running on the same
>When they are running on different boxes it works fine but we have to
>them on the same box for other reasons.
>Can someone please point me to a different solution (if available) in
>JSESSIONID cannot be changed?
>Any help is greatly appreciated.

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message