File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Logout Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Logout" Watch "Logout" New topic
Author

Logout

Aleksey Matiychenko
Ranch Hand

Joined: Apr 03, 2001
Posts: 178
I have a web site running IPlanet web server.
I am using default authentication.
I need to be able to logout user from the web page without closing the browser windows.
Does anyone know how to do that from JSP/Servlet?

[This message has been edited by Aleksey Matiychenko (edited May 21, 2001).]
Yongping Wang
Ranch Hand

Joined: May 15, 2001
Posts: 40
Hi,
Use session attrubute in your servlets. Once a user attemps to log out, set the session.invalidate(). That's it. Good luck.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Logout
 
Similar Threads
Again back button wiht logout link
Problem with Logout: session.invalidate() and close popup
javascript called within JSP
LogOut.jsp
controlling going back to previous page after logout