when will cookie information destroy?

Answer Posted / suresh

cookie is small amount of data and it's store on the client
machine that is your browser machine

..Developer to create cookie and set the life time of cookie
on our web application
example

cookie.setMaxAge(1000);

the cookie available in 1000ms

Is This Answer Correct ?    11 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet and its use?

716


Explain Action Servlet?

716


Describe some assignments that are executed by servlet container?

681


What is the life-cycle of servlets?

722


What are the benefits of using servlet over cgi?

662






How does Cookies work in Servlets?

748


How does java thread pool work?

634


What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?

692


How is the get () method different from the post() method?

620


Describe in brief RequestDespatcher?

677


What is the use of httpservletresponsewrapper?

619


What is generic servlet class?

687


What do you mean by cgi and what are its drawbacks?

617


I Have A Plan to develop a Project in Struts,I want the template of struts project with Hibernate.Canany body provide me the required information?

2306


What is ServletContext object?

730