tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: (Repost): How to set domain for JSESSIONID cookie
Date Tue, 03 Oct 2000 17:58:11 GMT
Even if you figure out how to mess up the session id cookie :-), you are not
going to be able to achieve what you want.  The whole internal organization of
Tomcat separates the webapps for each host.  It's not going to work, and it
violates the servlet specification anyway.

Craig McClanahan

Rishi N wrote:

> hi all,
> sorry to repost this, but i didn't receive any replies yet, and i'm stuck
> big-time because of this problem. any help would be very welcome.
> thanks,
> rishi
> >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/, 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.
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> Share information about yourself, create your own public profile at

See you at ApacheCon Europe <>!
Session VS01 (23-Oct 13h00-17h00):  Sun Technical Briefing
Session T06  (24-Oct 14h00-15h00):  Migrating Apache JServ
                                    Applications to Tomcat

View raw message