tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner van Mook <wer...@connecties.com>
Subject Re: logout and login again
Date Thu, 15 May 2003 14:55:43 GMT
I  just do

HttpSession mySession = req.getSession();
mySession.invalidate();

Werner

On Thursday, May 15, 2003, at 04:38 PM, John Turner wrote:

>
> How do you invalidate the user's session?
>
> John
>
> On Thu, 15 May 2003 16:28:28 +0200, Werner van Mook 
> <werner@connecties.com> wrote:
>
>> Hi,
>>
>> I'm new to this list so forgive me if this questions has been asked 
>> before.
>> (although I couldn't find it in the archives).
>>
>> I have a web app for which a user has to log in with a name and 
>> password.
>> I give the users a way to logout by invalidating the current session.
>>
>> Now it should be possible to go back to the page where you have to 
>> log in and ask for the name and password.
>>
>> This will not work for me. My browser does not show a login window.
>> It only shows it when I restart my browser.
>>
>> I use basic authentication with the standard tomcat memory realm.
>>
>> I hope I'm clear in my story.
>>
>> Can anybody point me in the right direction.
>>
>> Werner
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
>
>
> -- 
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


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


Mime
View raw message