This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ways to logout user or end a session.

 
krishna prasad gunasekaran
Ranch Hand
Posts: 158
  • 0
  • 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: 64181
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • 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
  • 0
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic