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 ihttphandler and ihttphandlerfactory interfaces ?
In Code-Behind class which kind of code (server or client) is found ?
What is the difference between client-side and server-side validations in ASP.NET?
Do you know about caching with the datasource controls?
what is command line compiler.what are the steps and how it is related to debugging.
What are the difference between function and stored procedure in .net programming language?
What is caching in asp.net?
What is client side state management?
Explain the difference between Web Garden and Web Farm?
What is dynamic web page with example?
What is the procedure to create the environment for asp.net? : asp.net mvc
Explain the benefits of viewstate?
To redirect the user to another page which method do we use without performing a round trip to the client?
Is redux flux?
Define authentication and authorization.