tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Davidson <bi...@seatadvisor.com>
Subject Re: Moving from a very old Tomcat to a new Tomcat.
Date Thu, 05 Jun 2008 23:11:29 GMT
Christopher Schultz wrote:
> Are you using cookies or URL-rewriting (or both) for your application?
> Can you use a tool like LiveHTTPHeaders to observe the headers being
> exchanged during the interaction described above?
We are using cookies to track sessions.  I don't think we're using URL
rewriting.  Servlets and jsp's are handed off to Tomcat.  Everything else
is Apache httpd.

We seem to be losing the cookie when a page being served from the SSL
virtual host forwards to a page that is not SSL (back in the regular host on
port 80).  No cookie means the server doesn't know that the browser is
attached to the session it created for the user.

My lack of Apache skills is no doubt showing.  Is there a way to have
Apache 2.2 serve both 80 (clear) and 443 (SSL) from the primary
host instead of a virtual host?  I'm guessing that the switch from the
virtual host to the main host (both with the same hostname and IP but
listening on different ports) is what's causing the cookie to get lost.



Mime
View raw message