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 I need to create and run an asp.net application?
Explain exception filters?
What is the difference between debug and release?
What is the difference between session object and application object?
What is aspect-oriented programming?
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
Is asp.net mvc still used? : Asp.Net MVC
What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
What are the different kinds of assemblies?
Differentiate between a page theme and a global theme?
What are the different properties of server control that exists?
What are the different types of proxy patterns?
What is a url string?
How can I open ashx file in mobile?
Why we use asp.net for website development?