Pages

Thursday, 13 February 2014

How jQuery Get Cookie Value in Asp.Net Website C# or Retrieve Cookie Value in Asp.net

How jQuery Get Cookie Value in Asp.Net Website C# or Retrieve Cookie Value in Asp.net

we use Request.Cookies in Asp.Net for that we need to write code like as shown below



 if (Request.Cookies["UserId"] != null)
 {
 string username = Request.Cookies["UserId"].Value;
 }


Download

No comments:

Post a Comment