How do you create a permanent cookie?
Answer Posted / sapna
Cookie is like a temporary file which contains a name and a
value pair and resides in the client.
cookie prepared or modified by the server side script will
be appended to the response and will be sent to the client.
dim cook as httpcookie
cook=new httpcookie("items")
cook.value=textbox1.text
response.appendcookie(cook).
| Is This Answer Correct ? | 13 Yes | 15 No |
Post New Answer View All Answers
Explain About duration in caching technique
What are the different method of navigation in asp.net?
What are url fragments?
How does exception management works in ASP.NET?
Define viewstate in .net?
Define web.config in .net?
What are asp.net web forms?
Which two new properties are added in asp.net 4.0 page class?
Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?
what is DLL Hell and how it is solved in .NET? please explain clearly??
Using code explain Configuration Management
Explain cookies with example.
How does windows service lifecycle differ from a .standard. Exe?
Can we have multiple web config files for an asp.net application?
Which platform does Microsoft .NET use for exchanging data between applications?