I'm just thinking out loud here really as I don't know if this is
possible. Obviously the problem you are having is that the session ID is
stored in a cookie which is relevant to a particular domain, change the
domain and you change the cookie so a different session. 

My thought would be can you create a replica of the session cookie on
domain 1 with the domain 2 URL. Therefore accessing the same session.

Problems I would forsee with this is, inability to fully replicate the
cookie and there being more tying the session to a domain that just
simply the session ID.

Ta
Matt

-----Original Message-----
From: Steffen Heil [mailto:[EMAIL PROTECTED]
Sent: 19 September 2004 20:20
To: 'Tomcat Users List'
Subject: AW: Linking Sessions


Hi

> If I understand your setup, you could look into Single Sign-On.
Tomcat
has a special Valve for this.  Search the docs/archives for details.

Sorry, no. Single Sign-On only works on the same domain, as it requires
sessions itself.

> If that doesn't work for you -- granted, there are some limitations --
you
could use a shared database for intra-app data sharing. This is similar
to
your HashMap but lets the various domains live in physically different
processes/servers.

Actually, it is just about a single application. No intra-app or such
things.

Thanks anyway,

Regards,
  Steffen
Any opinions expressed in this E-mail may be those of the individual and not 
necessarily the company. This E-mail and any files transmitted with it are 
confidential and solely for the use of the intended recipient. If you are not the 
intended recipient or the person responsible for delivering to the intended recipient, 
be advised that you have received this E-mail in error and that any use or copying is 
strictly prohibited. If you have received this E-mail in error please notify the 
beCogent postmaster at [EMAIL PROTECTED]
Unless expressly stated, opinions in this email are those of the individual sender and 
not beCogent Ltd. You must take full responsibility for virus checking this email and 
any attachments.
Please note that the content of this email or any of its attachments may contain data 
that falls within the scope of the Data Protection Acts and that you must ensure that 
any handling or processing of such data by you is fully compliant with the terms and 
provisions of the Data Protection Act 1984 and 1998.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to