How to retrieve value from Cookie?

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

With the help of Request.Cookies method,we can retrieve any Cookie' value.

For example:-

string employee_info = Request.Cookies["EmployeeMaster"].Value;


Here,EmployeeMaster is a Key.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response