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.org
> 
> iEYEARECAAYFAkgMmnsACgkQ9CaO5/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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Share-session-cookie-across-subdomains-tp16787390p16810830.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to