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

Explain request dispatcher and its methods.

949


Can you refresh servlet in client and server-side automatically?

1039


What is meant by a web application

976


What is meant by servlet? What are the parameters of the service method?

975


Which interface must be implemented by all servlets?

1300


What's the architecture of a servlet package?

992


What are the types of servlets? Explain

1203


Define declaration.

1032


What do you mean by session tracking?

1158


What are the mechanisms used by a servlet container for maintaining session information?

984


What is a servlet context object?

1101


Difference between java beans & servlets?

1006


What is life cycle of Servlet?

1027


What are the common methods that are included in the http servlet class?

1004


What are the two important api's in for servlets?

1024