Explain session destroy in Servlets



Question: How you can destroy the session in Servlet?
Answer:
You can call invalidate() method on the session object to destroy the session. e.g. session.invalidate();

Share with SociBook.com

Random Posts

Post a Comment