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

Allen,

Williams, Allen wrote:
> Will it work with POST as well as GET?  Although I guess I'll soon find
> out;-)

It should work equally well with GET and POST. The browser should send
cookies with every type of request (not just GET and POST).

I strongly encourage you to make arrangements for non-cookie-using
people. When you emit the HTML (and javascript) to make your
XMLHttpRequest, try making the URL dynamic and running it through
HttpServletResponse.encodeURL to add the jsessionid to the URL if necessary.

This will make your application a little more friendly to those who
either don't have cookies available (usually an IT policy in an office
or something) or who choose to turn them off. I find this to be
courteous to your users.

Just my .02.

- -chris

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

iD8DBQFGUvhK9CaO5/Lv0PARAtq0AKCfANKRxmb3ljBRiDLsb6gghTZHBgCcCdxW
tUbl8cpKi44F53BrbHBmRjA=
=zz//
-----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]

Reply via email to