How do you create a permanent cookie?
Answer Posted / ajinkya
<%
Response.Cookies("username") = "you"
Response.Cookies("username").Expires = Date.MaxValue
%>
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is the mvc model?
What is difference between session and cookie?
How do u deploy your asp.net application?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
What is cookies cache and session?
Can you use c# without .net?
What's the ASP.Net Application life cycle?
What is a server cookie?
What is css and what is it used for?
How can we provide the WebParts control functionality to a server control?
If you want to write your own dot net language, what steps you will you take care?
What is the use of HttpHandlers? When to use this?
Explain the difference between server control and html control.
What are the file extensions for razor views?
Explain the use of fragment caching.