tomcat-users mailing list archives

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

Hi,
No, this name is mandated by the Servlet Specification.

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Dineshram Villuri [mailto:dineshram@pinksheets.com]
>Sent: Monday, August 23, 2004 12:27 PM
>To: tomcat-user@jakarta.apache.org
>Subject: Changing session-cookie(JSESSIONID) name in tomat
>
>Hi,
>
>Is there a way we can change JSESSIONID name? I mean can we have a
>different
>cookie name to store sessionid? If yes how I can configure it in
tomcat.
>
>I have two applications running on different tomcats in the same
physical
>box. Both applications use the same authentication mechanism (wherein
when
>2
>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
with
>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
same
>box.
>
>Now we understand that the problem is with the cookie-name JSESSIONID.
>Since
>both the applications are having the same cookie name(JSESSIONID) if
one
>user logs on into app1 and an other one is logged on to app2(diff
tomcat)
>with the same username the earlier one is kicked out.
>
>We are facing this problem only when 2 tomcats are running on the same
box.
>When they are running on different boxes it works fine but we have to
run
>them on the same box for other reasons.
>
>Can someone please point me to a different solution (if available) in
case
>JSESSIONID cannot be changed?
>
>Any help is greatly appreciated.
>
>Thanks,
>Dinesh.



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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message