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 is anonymous authentication?
What is difference between View State and Hidden Field in ASP.NET?
What is IPostBack? How to use it?
How many types of session state management options available in asp.net?
What are query strings used for?
What are the new web part controls in asp.net 2.0 ?
What is the difference between page directive include and action tag include?
How can we create Tree control in asp.net?
Is asp.net mvc still used? : Asp.Net MVC
How can we inherit a static variable?
What is a runtime version?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
What is distributed system in asp.net?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
What is the use of autowireup in asp.net?