tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Berry" <Craig.Be...@portblue.com>
Subject RE: logout and login again
Date Thu, 15 May 2003 15:03:24 GMT
HttpSession.invalidate()
 
http://java.sun.com/products/servlet/2.2/javadoc/javax/servlet/http/HttpSession.html#invalidate()

	-----Original Message----- 
	From: John Turner [mailto:tomcat-user@johnturner.com] 
	Sent: Thu 5/15/2003 7:38 AM 
	To: Tomcat Users List 
	Cc: 
	Subject: Re: logout and login again
	
	


	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
	
	

Mime
View raw message