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 the advantages of asp.net?
What is asp according to you?
What is the use of response redirect in asp.net?
How long should a session id be?
What is the importance of Global.asax in ASP.NET?
Explain Areas in MVC?
What is server side routing?
What is ascx?
How does session work in asp net?
Differentiate between early binding and late binding.
Explain automatic memory management in .net.
How ASP.NET page works?
How Can assign alias name for ASP.NET Web API Action?
How do cookies work?
How do u deploy ur project?