tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: getRequestedSessionId() returns null
Date Tue, 03 Nov 2009 16:38:08 GMT
> From: daulat khan [mailto:daulat.kan@gmail.com]
> Subject: Re: getRequestedSessionId() returns null
> 
> what need to be done in the apache - tomcat setup to send the session
> and cookie with the header ?

The sessionid is sent by the client (browser) - if there is one.  Since your webapp did not
create a session on first contact by the client, there's no sessionid for the client to return
on subsequent requests.  It's up to your webapp to create the session for non-secured resource
requests, not Tomcat or httpd.  You should not assume there will always be a sessionid.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


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


Mime
View raw message