Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is called servlet mapping?

1080


How can you push data from an Applet to a Servlet?

1103


What is the capacity the doget can send to the server?

1082


Tell us something about servletconfig interface.

1008


What are the uses of servlets?

1142


When should you prefer to use doget() over dopost()?

1157


What are its drawbacks of cgi?

1127


How do you configure a centralized error handler in servlets?

1108


What is the disadvantage of cookies?

997


Can filter be used as request or response?

971


What is servlet in tomcat?

1059


What are all the ways for session tracking?

1169


What is a deployment descriptor?

1107


What are different methods of session management in servlets?

1284


What are the phases of a servlet life cycle?

1120