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 are the various types of cookies in asp.net?
Define the steps to set up validation control.
What are uri parameters?
Explain the path instructions in xaml?
What are the differences between application object and session object?
What are the features of asp net?
What happens if an ASP.NET server control with event-handling routines is missing from its definition?
What are the advantages and limitations of query string?
What is the equivalent of date() and time() in asp.net?
What is the difference between runtime version and version?
How many types of cache are there?
What is the difference between Hash table and Array list?
Where is session cookies stored?
Mention the execution process for managed code?
What is a ashx file?