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
what is DLL Hell and how it is solved in .NET? please explain clearly??
What is the purpose of asp.net?
What are the authentication types in asp.net?
Why session is necessary in web application?
Distinguish between Server-side and Client-side code with its functionality?
Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?
What is state management techniques in asp.net?
What does mean by a neutral culture?
What is the significance of ASP.NET routing?
What is a web api endpoint?
Which Is Faster MVC or ASP.net ?
Give me one example of Web API Routing?
What is asp.net used for?
What are the differences between code behind and code inline?
How to create a db connection at one place/page so that we can use that connection for all pages/forms/windows.what r the steps ned to be performed if question not clear,let me know