Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ways to logout user or end a session.

 
krishna prasad gunasekaran
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64712
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That greatly depends on what it means to be "logged in".
 
krishna prasad gunasekaran
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic