Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

regarding invalidating sessions

 
Gaurav Chikara
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to forcefully invalidate a session
generally we invalidate a session on some event
by session.invalidate() method
but if we want to forcefully invalidate it thru server or ny other means can anyone pls tell as how is it possible?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would need an independent storage for references to the sessions since the API no longer lets you get at all sessions in an application.
Some sort of Administration servlet with a Vector of sessions would work.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic