Answer Posted / surya beniwal
write this cod on submit button : ..........
HttpCookie objCookie = new HttpCookie("UserCookie");
objCookie.Values.Add("UserName", TextBox1.Text);
objCookie.Values.Add("UserPass", TextBox2.Text);
//for permanent cookie .......
objCookie.Expires = DateTime.MaxValue;
Response.Cookies.Add(objCookie);
Response.Redirect("Default2.aspx");
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
Explain diff. Betn dataset and recordset?
What are triggers of an updatepanel?
Using code explain Configuration Management
Define authentication and authorization.
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
Explain the steps to be followed to use passport authentication.
What is bson in web api?
What is the use of worker process in asp.net?
What are the advantages and limitations of query string?
What is the difference between the response.write() and response.output.write() methods?
What is difference between asp.net and asp.net mvc? : Asp.Net MVC
Explain different types of Caching techniques in ASP.NET?
1.What r collections? 2.What is .pdb file? 3.Is it possible to provide access to users in master page? 4.What is dirty n Phantom Read(SQL)? 5.What r different isolation levels(SQL)? 6.How to set authentication mode in web.config file?
What are the navigation ways between pages available in ASP.NET?
What is cache in asp net?