You can get the cookie value using following function.
getCookieValue("Cookie_key");
public static string getCookieValue(string strKey)
{
if (HttpContext.Current.Response.Cookies[strKey] != null && HttpContext.Current.Response.Cookies[strKey].Value + "" != "")
{
return HttpContext.Current.Response.Cookies[strKey].Value;
}
else if (HttpContext.Current.Request.Cookies[strKey] != null)
{
HttpContext.Current.Response.Cookies[strKey].Value = HttpContext.Current.Request.Cookies[strKey].Value;
return HttpContext.Current.Request.Cookies[strKey].Value;
}
else
{
return "";
}
}