For logging out a user his current session should finished. Just call
"invalidate()" on his current session. That unbinds all objects that are
stored in the session, finishs the current session und removes it from the
web application.

Example:

HttpSession mySession = request.getSession(); // get the current Session
// Do something
(...)
mySession().invalidate(); // finish the current session

Matthias

> -----Ursprüngliche Nachricht-----
> Von:  paul marshal [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Mittwoch, 21. Februar 2001 16:10
> An:   tomcat-list
> Betreff:      formbased authentication: logout ?
> 
> How do I create a possibility for my users to logout. 
> Is there something in the HttpSession that I need to delete ?
> Or how does it all work ?
> 
> Paul
> 
> -- 
> Paul Marshall
> [EMAIL PROTECTED]
> 089/26019-609
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to