tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: cookies and webservice
Date Wed, 19 Jan 2011 16:51:39 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Diego,

On 1/19/2011 9:48 AM, Diego Monni wrote:
> Thanks for the response.
> I mean that my application contains jsp pages and webservices. When I call a
> jsp page the jsessionid is present. When I invoke a service method in the
> response header jsessionid is not present.

How are you checking for the response header?

Is your web service client authenticating with the server? If a session
isn't created, then a cookie will never be returned. A session will be
created if you use FORM authentication or if your code explicitly
creates a session.

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

iEYEARECAAYFAk03FpsACgkQ9CaO5/Lv0PCrPgCggPmyCzwBKjkgvT/cyMDLMnVw
D1IAoKb+OcFyZRgISMwrN54PJyA553ln
=ELsa
-----END PGP SIGNATURE-----

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


Mime
View raw message