You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rishi N <re...@hotmail.com> on 2000/10/02 02:31:14 UTC

How to set domain for JSESSIONID cookie

hi,

i've been trying to figure out what the value of the domain cookie needs to 
be, so that i can share the same session between two hosts in the same 
domain. i've tried looking at the tomcat source, but i can't  seem to figure 
out where exactly the domain for the cookie gets set. i   looked for the 
setDomain() call, which seems to made only in ./util/SessionUtil.java, but 
the code path doesn't seem to reach there at all, since none of the 
println's i put there are executed. i'm looking at the source code that is 
bundled with the binary download for the stable release version 3.1 of 
jakarta-tomcat.


any help will be much appreciated.

TIA,
Rishi

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.