aspose file tools
The moose likes JSF and the fly likes Clear session Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Clear session" Watch "Clear session" New topic
Author

Clear session

Minh Phuc
Greenhorn

Joined: Aug 07, 2012
Posts: 9
Hi all,
I had deploy my project on internet. It's using session for login. From A machine I logged with admin role, from other machine I access this web, I don't need login but I have all things same A machine. Please suggest some things for me!
R. Jain
Ranch Hand

Joined: Aug 11, 2012
Posts: 276

Minh Phuc wrote:Hi all,
I had deploy my project on internet. It's using session for login. From A machine I logged with admin role, from other machine I access this web, I don't need login but I have all things same A machine. Please suggest some things for me!


What exactly you want to ask? It would be better if you sound more clear and give some code here!!


OCPJP
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14491
    
    7

In J2EE, each client gets a unique session. Usually that means one session for each client machine, but for those of us who do things like run Firefox and IE at the same time, Firefox will have a session and IE will also have a (completely different) session.

Sessions are tied to logins, but you don't have to be logged in to use sessions. Logging out is a different story, since the accepted way to log out is by destroying the current session.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clear session
 
Similar Threads
Prevent Duplicate Logins
How to prevent login by the same user from different machine
Session handling during logoff
Same SessionId for two logins!
invalidate a session by using session id