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
What are the Types of chaching. How to implement caching
COM+ Used ________________ Isolation Level
Which tool you have done?
What is a session http?
How does the cookies work in asp.net?
14. What are your Future Plans for Swatz Oils GROUP U.K?
If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?
What are sql joins?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
What are client activated objects?
What is asp.net mvc5? : Asp.Net MVC
Explain the main differences between asp and asp.net?
Define the types of configuration files.
What is aspect-oriented programming?
Do you know using sql cache invalidation?