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
What is smpte vc-1?
Which protocol is used to call a web service?
what are the ihttphandler and ihttphandlerfactory interfaces ?
List the advantages and disadvantages of user control an custom control?
What is the life cycle of an asp.net page?
What are sql joins?
How does session work?
Describe SOA and the tenets of it?
What is .net framework and what are the main components of it?
What is server side session?
What is the used of "ispostback" property?
Mention few asp.net validators.
what are the web form events available in asp.net?
How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?
Where session id is stored?