1.

How Can The Session In Servlet Be Destroyed?

Answer»

There are two ways to destroy a session:
1. PROGRAMATICALLY : By USING session.invalidate() method. It makes the container ABANDON the session on which the method is called.
2. When the server shuts down.

There are two ways to destroy a session:
1. Programatically : By using session.invalidate() method. It makes the container abandon the session on which the method is called.
2. When the server shuts down.



Discussion

No Comment Found