Hi Chris - I thought about doing that, but that existing Request object could have state that my newly created Request will not have - Request does not have a copy constructor and does not wrap another Request object. Is it OK to just create a fresh, new, un-initialized Request object & pass it to the next valve in the chain?
Thanks,
Zach
Christopher Schultz-2 wrote:
-----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.orgiEYEARECAAYFAkgMmnsACgkQ9CaO5/Lv0PA/WACeK9Rcw1ltSqoVC/pFXUZFtob3
JYUAnRxnQV+FEtkxqruWMfA0U2p/Qg9O
=ScpV
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org