1.

How to create a cookie in asp.net website?

Answer»

 By using HttpCookie CLASS object. After creating COOKIE it will be attached to Response Object to send it to the CLIENT.

 Ex: 

HttpCookie cookie1=new HttpCookie ("USERNAME","Ritu"); Response.Cookies.Add (cookie1);


Discussion

No Comment Found