• Post Reply Bookmark Topic Watch Topic
  • New Topic

What happens when logout

 
Piradharsan Navaratnam
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody say what happens when we log out. I think we invilidate a session. But what happens when a person closes a browser without logout will he logged out automatically ?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65516
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to choose the correct forum for your posts. This forum is for questions on JDBC.

This post has been moved to a more appropriate forum.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35709
408
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Piradharsan,
Most logout actions are implemented by calling session.invalidate(). If a user just closes the browser, the server will not know about this. The session will be invalidated after it has timed out.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!