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 User is able to perform all operation even after log out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "User is able to perform all operation even after log out" Watch "User is able to perform all operation even after log out" New topic
Author

User is able to perform all operation even after log out

praveen kumar gowda
Greenhorn

Joined: Feb 20, 2012
Posts: 23


If i Login to application with one user id

and now if open another tab in same window

log out and login with other user id

and i perform some actions

now i log out from second tab and navigate to first tab which is logged in with
user-1



Expected:

user should be logged out

Actual:

user is able to perform all operations
thippe swamy
Greenhorn

Joined: Feb 04, 2012
Posts: 10

did you try session.invalidate();
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 537

What are you doing once user clicks logout?
You are not showing us any code and just describing the problem. Please show the code, so that you can get more useful replies..
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: User is able to perform all operation even after log out