my dog learned polymorphism*
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 Java 8 in Action this week in the Java 8 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: 507

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..


Regards, Prasad
SCJP 5 (93%)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User is able to perform all operation even after log out
 
Similar Threads
session problem in struts 2 application
session handling problem
Handle session ID after deleting cookies
enable multiple users login using the same browser in diffrent tabs
maintining two sessions in same browser window