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 what does wsdl stand for?
Why do we use asp.net?
Which platform does Microsoft .NET use for exchanging data between applications?
For which does this Codebehind="MyCode.aspx.cs" is relevent to ?
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
What are the Difference between asp.net and asp ?
What is a 404 redirect?
Define session in asp.net.
How do we assign page-specific attributes?
How do you do client-side validation in .net? How to disable validator control by client side javascript?
What is the Intermittent crashing of application in production?
Explain one critical mapping?
Explain About WebService
How to change Master page in ASP.Net using code?
List the major built-in objects in asp.net?