tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erica_...@pch.gc.ca
Subject RE: Session sharing between two URLs
Date Tue, 22 Jul 2008 19:57:09 GMT
Thank you Chuck! I'm using Tomcat 5.5.25, and we are using our own 
authentication system so Single Sign On Vale cannot be used. I set 
emptySessionPath="true" to make the path on the jsessionid cookie less 
restrictive. 

I'm using both URLs www.domain1.com and www.domain2.com to access the same 
webapp, these two DNS entries point to the same Tomcat instance. The 
application automatically switches user locale based on the language 
switch, and hence changing the URL displayed. JSESSIONID is used to track 
user information and is appended as a URL parameter. I simply want a way 
to be able to switch between English and French URLs with the same 
jsessionid. I don't know if this is possible without changing the Tomcat 
source code?

Erica






"Caldarale, Charles R" <Chuck.Caldarale@unisys.com> 
22/07/2008 03:20 PM
Please respond to
"Tomcat Users List" <users@tomcat.apache.org>


To
Tomcat Users List <users@tomcat.apache.org>
cc

Subject
RE: Session sharing between two URLs






> From: erica_ren@pch.gc.ca [mailto:erica_ren@pch.gc.ca]
> Subject: Session sharing between two URLs
>
> I'm wondering if there is a way to configure Tomcat to share
> session between two URLs from the same webapp?

Are you sure both URLs access the same webapp?  Or do you really have the 
webapp deployed twice, once for each language?  If the latter, the 
SingleSignOn valve may help:

http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Single%20Sign%20On%20Valve


Next time, tell us the Tomcat version you're using.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you 
received this in error, please contact the sender and delete the e-mail 
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message