On Fri, 7 Dec 2001, Neil Aggarwal wrote:

> Date: Fri, 7 Dec 2001 13:18:32 -0600
> From: Neil Aggarwal <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat-User <[EMAIL PROTECTED]>
> Subject: Session tracking across virtual hosts?
>
> Hello:
>
> I am developing a web application that requires session tracking.
>
> Because we are using a virtual host with a shared SSL certificate,
> we need to track sessions using two different hosts.  For example,
> we need to use URLs like:
>
> http://www.virtdomain.com/appName/page.jsp
> and
> https://www.JAMMConsulting.com/appName/page.jsp
>
> Session tracking does not work across this scenario since the
> domains are different.
>

By definition, sessions are scoped to a single web application, so you
cannot even share them across two webapps on the same virtual host.
You will need to use some other mechanism to share information between
webapps -- perhaps using a database, or EJBs, or something like that.

Craig



--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to