How do you create a permanent cookie?
Answer Posted / naseem malik
If You want to Create a parament Cookies. you Permanent cookies are available until a specified expiration date, and are stored on the hard disk.So Set the 'Expires' property any value greater than DataTime.MinValue with respect to the current datetime. If u want the cookie which never expires set its Expires property equal to DateTime.maxValue.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the different types of proxy patterns?
What is difference between Lambda Expression and LINQ in ASP.NET?
What are the different types of sessions in asp.net? Name them?
What symbol would you use to denote, the start of a code block in aspx views?
What are session state modes?
Is asp.net mvc still used? : Asp.Net MVC
What are the two Layouts supported by a Web form in ASP.NET?
What are Authentication and Authorization?
What is a global postback url?
How do you change the session time-out value?
What is asp.net? How is it different from asp?
Contrast oop and soa. What are tenets of each16. How does the xmlserializer work? What acl permissions does a process using it require?
Mention the execution process for managed code?
List the major built-in objects in asp.net?
Explain the use of view state?