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 / sekhar babu

To remove the session object .
1. with the help of web.xml
<session-timeout>time in minutes</session-timeout>
2. in programatically
session.setMaxInactiveInterval(time in seconds)

to terminate immediately the session
use session.invalidate()

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between jsp and servlet?

1010


What is MIME Type?

1102


How will you pass values from HTML page to the servlet?

997


What are the types of servlet?

1228


What is the structure of the http response

1124


Can we use the constructor, instead of init(), to initialize servlet?

1052


What is new in ServletRequest interface ? (Servlet 2.4)

976


Explain jsessionid?

986


Can a jsp be called using a servlet?

1083


What is the use of request dispatcher interface?

973


When jsessionid is created?

1002


How can we invoke another servlet in a different application?

1153


What is servlet and its life cycle?

1080


Explain servlet life cycle?

1073


What are the types of an http request?

1095