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
Describe in brief .net framework and its components.
1.what is the application pool. 2.what is the HttpModile and Http Handler. 3.C# 3.0 Features ? 4.Anonoymous Type,methopd and claas in 3.0? 5.difference between statsic and const ? 6.session vs application 7.state management clint side and server side ? 8.Genric list 9.c# 3.0 vs 3.5
Define data caching?
What is custom events? How to create it?
What are the asp.net list controls and difference between them?
Why do we use datasource in asp.net?
Is asp.net free?
What kind of programming language is ASP.NET?
How is session id generated?
What is the use of HttpHandlers? When to use this?
how to elimainte the similar data from the different tables
What is the postback property in asp.net?
How do you implement postback with a text box?
What are the advantages and disadvantages of session?
Do gac'ed assemblies have fulltrust?