How do you create a permanent cookie?
Answer Posted / ajinkya
<%
Response.Cookies("username") = "you"
Response.Cookies("username").Expires = Date.MaxValue
%>
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is meant by ispostback in asp net?
What is the base class from which web forms are inherited?
Why do we use sessions?
What is an imagemap in asp.net?
How do you identify that the page is postback?
Can you explain autopostback?
What are the various types of cookies in asp.net?
Explain managed code an un-managed code.
How is application management and maintenance improved in asp.net 2.0?
What is the advantage of mvc over asp.net? : Asp.Net MVC
What is cookies in asp net?
How would you enable impersonation in the web.config file?
What is an il?
Do cookies store passwords?
What is the difference between session and application?