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 are server objects?
What is the application pool?
What is the difference between custom web user control and a custom web server control?
how to write html code with ssl
What are cookies in asp.net?
What is difference between mvc and asp.net? : Asp.Net MVC
What is a viewstate?
what are the security certificates used in webservices?
What are the different web pages?
there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?
Do you support digital rights management to protect my videos?
What are the options in ASP.NET to maintain state?
What are the main advantages of using asp.net?
What is the difference between ASP.NET Webforms and ASP.NET MVC?
To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?