You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by SH Solutions <sh...@gmx.net> on 2004/09/19 12:58:05 UTC

Linking Sessions

Hi

Is there a way to link a session?
I have the following scenario:

I have multiple domains on a server. Some links on these pages need to
switch to another domain, exspecially, when I need to switch to
ssl-protected sites, since all these virtual domains share the same ssl
domain (one ip only).

So my problem is, that inter-domain-links by default loose their session. Is
is a problem.
(Putting things into a shopping cart is okay, but when switching to ssl for
credit card information, the cart my not be lost.)

Now, I have special links, that lead to a servlet that puts every attribute
of the local session into a hashmap and jumps to another special servlet on
the other domain, which itself copies attributes from the hashmap back to
the new session.

This schema works, but it is a bottleneck in many ways.

So I am searching a way to link to a KNOWN session instead if creating a new
one.
Is there a way for this?

Regards,
  Steffen


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org