• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session

 
tony kanvas
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all
The user cant explicitly guarantee their session is invalidate
How much this statement true and how about if we use public void invalidate
 
Tejas Bavishi
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if I have completely understood your question, however let's try :
The user connected to a web application can't gurantee if the session is invalidated. TRUE
But applications do have a LogOut function, that users can use to end their seesion, this is done by calling HttpSession.invalidate(). The invalidate() method gurantees that the user's session is ended(destroyed).
HTH
 
tony kanvas
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean when using invalidate you can grantee session is invalidate ?!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic