You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Thompson, Douglas" <Do...@mcgraw-hill.com> on 2002/02/01 21:02:08 UTC

subdomain

Does anyone know how to set the session cookie's doimain so that it can
cross subdomains?  Currently it just loses the session when going between
subdomains.
Thanks, 
  Doug

Re: subdomain

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Fri, 1 Feb 2002, Thompson, Douglas wrote:

> Date: Fri, 1 Feb 2002 14:02:08 -0600
> From: "Thompson, Douglas" <Do...@mcgraw-hill.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>
> To: 'Tomcat Users List' <to...@jakarta.apache.org>
> Subject: subdomain
>
> Does anyone know how to set the session cookie's doimain so that it can
> cross subdomains?  Currently it just loses the session when going between
> subdomains.

There is no such mechanism, because it would violate the servlet spec to
allow this.  (A bunch of other stuff would fail to work also, because each
webapp has its own class loader).

> Thanks,
>   Doug
>

Craig McClanahan



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>