public static Dictionary<string, string> GetCookieValues(string key)
{
Dictionary<string, string> cookieValues = null;
if (IsCookieExist(key))
{
cookieValues = new Dictionary<string, string>();
NameValueCollection cookies = HttpContext.Current.Request.Cookies[key].Values;
foreach (string cookieValue in cookies)
cookieValues.Add(cookieValue, cookies[cookieValue]);
}
return cookieValues;
}