Hi,
First of all I would like to know how
Tomcat tracks sessions using cookie. I want to know whether it uses
www.xxx.com or just xxx.com to track sessions while setting the cookies.
My Problem:
I have tow virtual Apache host, one SSL and one Non-SSL talking to same tomcat instance. When I jump from non-SSl to SSL then tomcat looses all its previous session. I changed Apache to use the same host name for SSL and NON-SSL and now it works but not with virtual host.
Please help me how to maintain sessions if I jump between Virtual host. It seems Tomcat tracks session using cookies with full host name rather than just domain name.
How to make Tomcat to set session cookies just by using xxx.com rather than
www.xxx.com. Note: Only one tomcat instance but 2 apache virtual host.
Regards,
Raghu