How many ways to remove the session object in the container
Answer Posted / amitasite
Programmatically:
1. session.invalidate()
2. session.setMaxInteractiveIntervals(0);
Container will remove session if user is idle more than the
time specified in <session-timeout>time in
minutes</session-timeout> in web.xml
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How can we implement a jsp page?
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
What do you mean by annotations in servlet?
Explain servlet life cycle?
Is it possible to have a constructor inside the servlet?
What’s the use of the servlet wrapper classes??
What is servlet? Explain
Why is httpservlet declared abstract?
What is lazy loading and what is Generic Servlet Class?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
What are the drawbacks of cgi?
What is Servlets and explain the advantages of Servlet life cycle?
How the servlet is loaded?
How can we refresh automatically when new data has entered the database?
What is meant by a servlet?