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 / ashwin kumar j

session.invalidate() used to kill the session object,this
method is usually called, for ex: when we logoff from an
application.

and

session.removeAttribute()

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Should I override the service() method?

1047


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

1094


Describe some assignments that are executed by servlet container?

1037


How can we implement a jsp page?

1090


What is SingleThreadModel interface?

1096


What are all the ways for session tracking?

1104


What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?

995


How do you create a cookie using servlet?

1103


Explain Action Servlet?

1037


What do you mean by chaining in servlet?

998


Differentiate between the get and post method

1017


What do you mean by web applications? Explain web application directory arrangement?

925


How can we refresh automatically when new data has entered the database?

1062


Explain web container.

983


What is the procedure for initializing a servlet?

987