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
How do I open an ashx file in windows 7?
Explain Session state management options in ASP.NET.
Define static function?
What threading model used in asp and asp.net?
What is the difference between adding reference in solution explorer and adding references by using ?
Define xmlvalidatingreader class.
What is state management techniques in asp.net?
Explain the role of global.asax?
What is sta?
How u refer webservices?
Where sessions are stored in asp.net?
What is a server farm in iis?
What is inheritance and an how it be used, example with an example?
What is the difference between trace and debug in asp.net?
What is webresource axd?