Please send your Questions & Answers or Feedback to "mohan@javabook.org"

How can the session in Servlet can be destroyed?


An existing session can be destroyed in the following two ways:
Programatically : Using session.invalidate() method, which makes the container abonden the session on which the method is called.
When the server itself is shutdown.
Related Posts Plugin for WordPress, Blogger...
Flag Counter