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 are the functions of Servlet container?

1061


What is called servlet container?

1041


What is servlet lazy loading?

1113


What is http servlet in java?

1014


What are the type of protocols used in httpservlet?

1024


What’s the difference between sendredirect and forward methods

1014


How do I use cookies to store session state on the client?

910


What's the architecture of a servlet package?

986


What is the life-cycle of servlets?

1094


Which are the different ways you can communicate between servlets?

944


Difference between java beans & servlets?

1000


What is the purpose of inter-servlet communication?

1046


When servlet object is created?

1075


List out the difference between ServletConfig and ServletContext?

988


What are the kinds of http requests?

988