How do you create a permanent cookie?
Answer Posted / naseem malik
If You want to Create a parament Cookies. you 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 ? | 1 Yes | 0 No |
Post New Answer View All Answers
When maintaining session through sql server, what is the impact of read and write operation on session objects?
What is the difference between a default skin and a named skin?
What are the features of asp.net mvc?
What is server side routing?
Explain how cookies work.
Is oauth for authentication or authorization?
Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?
What is Partial PostBack in ASP.NET?
how to write html code with ssl
What is aspect-oriented programming?
What are the difference between function and stored procedure in .net programming language?
What is a session http?
Why and where this web.config file is used?
What are the new navigation controls in asp.net 2.0?
What are the advantages of using session?