tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: sharing session cookies across sub-domains - how?
Date Wed, 30 Jan 2008 22:32:12 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve,

Steve Parker wrote:
| So, you're saying that if I have a single deployed webapp, and I just
| enter a few such domains (e.g., c1.mydomain.com, c2.mydomain.com, etc)
| into DNS to point to this server, that tomcat will automatically
| instantiate a separate webapp instance for each access subdomain?

Depending on your deployment, yes. If you use Tomcat with multiple
<Host> elements, each with the same application deployed on them, then
they will be isolated from each other -- including the sessions. In this
case, I think that using SSO (single-sign-on) is an option -- as long as
they are all using the same Tomcat instance (i.e. all running within the
same JVM, etc.)

If you use a web server like Apache httpd to make it look like there are
several domains there, but there's really only one deployed instance of
your web application, then you should already be able to share the
cookies across the domains.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkeg+uwACgkQ9CaO5/Lv0PBDxwCfTkMrHq0opZkjNsa0DjePveho
od4AoJKTc45U5upR0kDuX05AZLEom3t+
=+7Zj
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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
View raw message