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: request.login() not persistent
Date Fri, 06 Apr 2012 02:10:25 GMT
> From: Jerry Malcolm [mailto:2ndgenfilms@gmail.com] 
> Subject: Re: request.login() not persistent

> I was using:
> <META HTTP-EQUIV="Refresh" CONTENT="0; URL=/userhome">

> I changed it per your comment to:
> <% response.sendRedirect( response.encodeRedirectURL( "/userhome" )); %>

> It's like the logged on state was not saved in the session object.

Or more likely that this particular client disabled cookies, thus requiring the sessionid
to be included in the URL.  Using the encodeRedirectURL() method will do that, whereas the
plain refresh will not.

 - 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