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 to set a cookie that is persisted only for the duration
fo the clients session?



How to set a cookie that is persisted only for the duration fo the clients session?..

Answer / janet

if u donot explicitly set a life time for the cookie using
cookie.setMaxAge(),the cookie is automatically deleted when
the user closes his browser.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Servlets Interview Questions

How the servlet is loaded?

0 Answers  


What's the servlet interface?

0 Answers  


Is servlet a controller?

0 Answers  


What is HTTP Session ?

6 Answers  


what is servlet life cycle?

3 Answers   Inforica,


Given the request path below, which are context path, servlet path and path info?

0 Answers  


Is JSP Thread Safe ???? How To make JSP thrad safe ?????

6 Answers   Cognizant,


What is the use of servletconfig interface?

0 Answers  


Which protocol will be used by browser and servlet to communicate

0 Answers  


What are its drawbacks of cgi?

0 Answers  


What is preinitialization of a servlet?

0 Answers  


What is the procedure of invoking different servlet in a different application?

0 Answers  


Categories