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 xaml? Are xaml file compiled or built on runtime?
What is the file extension of web service?
What is asp.net? How is it different from asp?
What is difference between datalist and gridview?
How can we secure the data which is send from client side to server? Like the login id and paasword needs to be authenticated on the server but we cannot send it in plain text into the server.One more thing we are not using the SSL here.
What is the use of data set in asp.net?
How to rename a table using sql queries?
How can we inherit a static member?
Explain what the contents of cookie?
How many types of Cookies are available in ASP.NET?
Is it possible to change the index of primary key on table?
What is the request flow used for asp.net mvc framework? : asp.net mvc
What is asp.net caching?
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)
What are the features that make asp.net more used framework? : asp.net mvc