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 how does JSP handle run-time exceptions?

1158


How does tomcat servlet container work?

1131


What is meant by a web application

1064


What is difference between PrintWriter and ServletOutputStream?

1350


Is tomcat a servlet container?

1111


What is new in ServletRequest interface ? (Servlet 2.4)

1059


Is that servlet is pure java object or not?

1171


Why filter is used in servlet?

1038


Explain load on start-up and its importance?

1190


What do you mean by cgi in servlet?

1125


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

2393


What is called Scriptlet?

1154


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

1137


What are all the protocols supported by httpservlet?

1352


The code in a finally clause will never fail to execute, right?

1149