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 / shyamalendu prusty

If you are using HTTP Session then you can use
session.remove().
But if you are using some other ways for session management
let’s say cookies then you have to then you can setMaxAge
to zero for the cookie.

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by cgi?

928


Explain the lifecycle of a servlet?

927


What is the difference between a generic servlet and http servlet?

952


Explain the different ways for servlet authentication?

1055


What is the use of servlet context?

1010


What is a server side include (ssi)

1093


What is the difference between get and post methods?

995


What is difference between the HTTP Servlet and Generic Servlet? Explain about their methods and parameters?

1035


What is the difference between context parameter and context attribute?

989


What are the phases of a servlet life cycle?

1073


What's the use of servletcontext?

1109


Why servlet is used as controller ? Not JSP? I want complete explation?

1096


Which httpsession object is used to view and manipulate information about a session?

1121


What is servlet container?

1086


How can the session in servlet can be destroyed?

1137