On 26.06.2013 16:54, Henri Gomez wrote:
>> You can configure the name of the session cookie in TC 6 and 7.
> 
> I see sessionCookieName in
> http://tomcat.apache.org/tomcat-7.0-doc/config/context.html ...
> 
>> So if in your case Tomcat would also set a cookie (in addition to the
>> app) we wouldn't need anything else. Just switch TC to MYCOOKIE and
>> configure mod_jk to look for MYCOOKIE.
> 
> It may works but Nexus is hacking JSESSIONID in extjs side also ;(
> I'll try BTW
> 
>> But it could well be, that Nexus actually replaces the session
>> management of Tomcat in which case TC would not set a cookie on its own.
>> Can you check that?
> 
> Nexus/Shiro is removing JESSIONID by its own ;(
> 
>> I started to hack on mod_jk to let it set cookies, but there are some
>> subtleties which make it not that easy (e.g. deriving the correct path
>> for the cookie form a JKMount). So probably there's a bit mor of
>> configuration and wiring necessary.
> 
> Rainer, you're "king of jk".

Naa, that's still Mladen. Blame him if something is not working ;)

> I think it will bring more values to many uses cases and act as
> mod_proxy/http so not too bad

Basic hack is done, will do some basic testing, then commit and provide
you with a snapshot tarball to do your own testing.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to