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

What are the steps that are involved in using the httpservlet class?

1066


What is servlet and how it works?

918


What is the advantage of Servlets when compared with other server side technologies?

2298


What is the need of servlet filters?

941


Explain in brief the directory structure of a web application?

1055


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

1029


Explain request dispatcher and its methods.

946


how to link html file to sevlet file.one name is textbox,c&c++ is cheakbox,bc&mca is radio button and one submit buttonis ok why in this programme use in servelt file

2647


What is a web container and what is its responsibility?

927


explain the advantages of servlet life cycle?

932


What is lazy loading and what is Generic Servlet Class?

1027


What are the types of an http request?

1087


What's the difference between authentication and authorization?

1080


What is session tracking?

1149


What is called servlet container?

1041