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 a session http?
What is & in a url?
How do you implement sql caching in asp.net?
Why web api is better than wcf?
What is css and what is it used for?
Explain the flow of processing of the request? : asp.net mvc
Explain the updatepanel?
Define xmlreader class.
Explain how can you debug your .net application?
Difference between using directive vs using statement?
What is the difference between page directive include and action tag include?
What is an asp.net validator? And, mention its types.
Any disadvantages in Dataset and in reflection ?
Explain different authentication modes in asp.net?
What is data caching?