Using cookies in ASP.NET..

Bharathi Cherukuri
Posted by Bharathi Cherukuri under ASP.NET category on | Points: 40 | Views : 1754
Coockies are used for tracking data settings. These cookies can be stored in a text file on the user's file system or in-memory of the user browser session.

Example:


HttpCookie nameCookie= new HttpCookie("Name");
nameCookie.Value = TxtName.Text;
Response.Cookies.Add(nameCookie);

Comments or Responses

Login to post response