aspose file tools*
The moose likes Servlets and the fly likes ways to logout user or end a session. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "ways to logout user or end a session." Watch "ways to logout user or end a session." New topic
Author

ways to logout user or end a session.

krishna prasad gunasekaran
Ranch Hand

Joined: Jul 25, 2006
Posts: 158
is calling invalidate() method on that session object the only way a user can be logged out if "he chooses" to be so?
declaring session timeouts in xml,servlets are one way, but they are fixed,static. what's the solution for indeterminate dynamic session periods, periods whose length are determined by the user.

have a nice day,
krishna prasad


have a great day,
krishna prasad
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61221
    
  66

That greatly depends on what it means to be "logged in".


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
krishna prasad gunasekaran
Ranch Hand

Joined: Jul 25, 2006
Posts: 158
'what it means to be "logged in".'

what does the above quote mean? about roles, privileges?..or is it about the answer to the question-does this logged user need a session?

have a nice day
krishna prasad
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ways to logout user or end a session.