How do we create a Cookie in Asp.Net?

 Posted by vishalneeraj-24503 on 12/12/2013 | Category: ASP.NET Interview questions | Views: 1750 | Points: 40

With the help of Response.Cookies method,we can create Cookie

For Example:-

Response.Cookies["EmployeeMaster"].Value = "Vishal";

Here,Vishal will be stored in Employeemaster key.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response