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

Is servlet a server side scripting language?

546


What do you mean by filter in servlet?

532


How to read request headers from servlets?

560


What is called Scriptlet?

552


What are all the ways for session tracking?

586






Difference between java beans & servlets?

583


what is multiple server?

1751


How httpservlet is different from the genericservlet?

558


How do you load an image in a Servlet?

651


What are Servlets?

591


What is the use of httpservletresponsewrapper?

524


What is the process for chaining servlet?

600


How do I support both get and post from the same servlet?

692


What is the major difference between servlet and applet?

535


Which event is fired at the time of setting, getting or removing attribute from application scope?

601