For using mod_proxy, have you also added proxy_name and proxy_port
attributes to the connector receiving proxied requests? Those will need
to be set so tomcat can create the session cookie correctly.
Additionally, you might want to be sure all your links are run through
response.encodeURL( urlString ) so the JSESSIONID is tacked onto the url
as necessary. Tomcat will use url rewriting to maintian session if the
cookie isn't available.
--David
Peter Crowther wrote:
From: Darren Hall [mailto:[EMAIL PROTECTED]
You are correct. When hitting Tomcat directly, the session
remains intact.
When using mod_proxy to forward requests to Apache the
session is lost.
Is this a common issue? How can I go about correcting this?
I'll have to open that up to the wider list - I've never used Apache to
front-end Tomcat, partly in fear of problems like this! Certainly it
would appear that many people have deployed Apache + Tomcat with
sessions and it's worked; so I suspect a configuration issue.
Personally, I'd check the configuration before going anywhere near
Martin Gainty's suggestions.
- Peter
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]