« Return to Thread: Share session cookie across subdomains

Re: Share session cookie across subdomains

by Christopher Schultz-2 :: Rate this Message:

Reply to Author | View in Thread

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Zach,

Zach Cox wrote:
| Note that this entire issue would be made much more simple if there was an
| easy way to override the
| org.apache.catalina.connector.Request.configureSessionCookie method.
I have
| not found an easy way to do that.

Have your Valve wrap the Request object with your own class that
overrides that method. Then just move your existing cookie
checking/replacing code into the configureSessionCookie method.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgMmnsACgkQ9CaO5/Lv0PA/WACeK9Rcw1ltSqoVC/pFXUZFtob3
JYUAnRxnQV+FEtkxqruWMfA0U2p/Qg9O
=ScpV
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Share session cookie across subdomains

LightInTheBox - Buy quality products at wholesale price