Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 83584 invoked from network); 19 Jan 2011 16:52:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jan 2011 16:52:16 -0000 Received: (qmail 84526 invoked by uid 500); 19 Jan 2011 16:52:13 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 84235 invoked by uid 500); 19 Jan 2011 16:52:10 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 84218 invoked by uid 99); 19 Jan 2011 16:52:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 16:52:10 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [76.96.62.48] (HELO qmta05.westchester.pa.mail.comcast.net) (76.96.62.48) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jan 2011 16:52:01 +0000 Received: from omta16.westchester.pa.mail.comcast.net ([76.96.62.88]) by qmta05.westchester.pa.mail.comcast.net with comcast id xUh71f0031uE5Es55UrhU9; Wed, 19 Jan 2011 16:51:41 +0000 Received: from [192.168.1.201] ([69.143.109.145]) by omta16.westchester.pa.mail.comcast.net with comcast id xUrg1f01038FjT13cUrh0f; Wed, 19 Jan 2011 16:51:41 +0000 Message-ID: <4D37169B.8060904@christopherschultz.net> Date: Wed, 19 Jan 2011 11:51:39 -0500 From: Christopher Schultz User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: cookies and webservice References: <99C8B2929B39C24493377AC7A121E21F9A47525AF8@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: X-Enigmail-Version: 1.2a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----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