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

Daniel,

On 7/13/2009 12:16 PM, Daniel Henrique Alves Lima wrote:
>       I don't know if you can/should change other HttpSession directly.

You might be able to on an older servlet container, but this portion of
the API has been deprecated and will cause modern containers to throw
exceptions. I'm not sure if a webapp specifies an old version of the
spec, whether this API will be supported or not (by a new container
which will enforce this prohibition on newer webapps).

> As
> Mikolaj Rydzewski said, you could perform a HTTP request using a
> different JSESSIONID cookie or a ;jsessionid URL rewriting.

This is possible.

It's also possible to use a SessionListener to maintain your own list of
sessions and then you can do whatever you want.

The real question is why you want to do this in the first place.

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

iEYEARECAAYFAkpbaBsACgkQ9CaO5/Lv0PC+RgCfUEoAJwWB+/4jgDCzJgK/4eDb
YhsAnA8DXWpTkOQdg7vMursGAg5dWfPx
=g3Tk
-----END PGP SIGNATURE-----

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

Reply via email to