Answer Posted / ramu
cookie is small "amount of a data", the cookie is set by
client & server.
cookie is setmaxAge() .
For ex:-
1.cookie.setMaxAge(100)-->100 sec
If we set the max age of a cookie to 100 sec,the
browser
holds the cookie for 100 sec even if we close the browser.
2.If we set max age value to negative value the browser hold
the cookie till we close the browser.
3.If we use setMaxAge(0) the browser will arase the cookie.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How is an application exception handling is done using a servlet?
What are the functions of the servlet container?
Explain jsessionid and when is it created?
What is api in servlet?
Explain the difference between generic servlet and http servlet?
What do you mean by singlethreadmodel interface?
What is the major difference between servlet and applet?
What do you mean by session tracking?
What is the difference in between the httpservlet and generic servlet?
How will you pass values from HTML page to the servlet?
What are different ways for servlet authentication?
Describe in brief RequestDespatcher?
What is servlet and list its types?
Which is the methods of generated servlet?
How can we invoke another servlet in a different application?