How do you create a permanent cookie?
Answer Posted / laki
we can create a permanent cookies giving the expiry date .
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 ? | 7 Yes | 8 No |
Post New Answer View All Answers
Explain Session state management options in ASP.NET.
What are the merits and demerits of viewstate?
What are tuples?
How do I publish my asp.net application to my isp's web server?
What is a user session?
What are the different types of proxy patterns?
What is Model-View-View Model?
Mention few asp.net validators.
How ViewstateMac works?
Explain about secure socket layer?
What is the difference between table and query?
Explain how cookies work.
How can we identify that the page is post back in asp net?
Can you set the session out time manually?
If you want to write your own dot net language, what steps you will you take care?