Hello,

How can I have the same session for many web sites?

By default, for the first request tomcat creates a implicit session and
sends a cookie with domain=servername. What I wanna do is setting this
cookie for domain=partian domain name (like .kiki.ro) (that means this
cookie will come back for all the hosts ending with .kiki.ro and I'll have
the same session for all the sites :)). I think I have to say that I use
the same application context for all this sites...

Another problem is using the same session between applications... I know
it is not conform the sun specifications (... HttpSession objects must be 
scoped at the application / servlet context level. The underlying
mechanism, such as the cookie used to establish the session, can be shared
between contexts, but the object exposed, and more importantly the
attributes in that object, must not be shared between contexts. ...),
but there must be a way to do that...


thx,
 --
:], Mihai P.

xblue@
 necomm.ro
 fenrir.infoiasi.ro

icq:77484853

=====-----=====

Reply via email to