How do you create a permanent cookie?
Answer Posted / bhim bharti
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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are sql joins?
What is the difference between runtime version and version?
Why do we need master page in asp.net?
What do you mean by authentication?
What is application Object?
Why is xap important?
What is query string with example?
Explain the concept of MVC Scaffolding?
What is asp.net with mvc? : Asp.Net MVC
What is data caching?
Explain Life cycle of ASP.NET page when a request is made.
Why we use asp.net for website development?
Explain the difference between singleton and single call?
What is the main differences between asp and asp.net?
Does asp.net still recognize the global.asa file?