public Dictionary <string, string> GetAllCoockies() { //IpCountryCode Dictionary <string, string> coockies = new Dictionary <string, string>(); foreach (var cookie in User.GetAllCookies()) { if (cookie.Value.IsNullOrWhiteSpace()) { continue; } coockies.Add(cookie.Key, cookie.Value); } foreach (var cookie in Session.GetAllCookies()) { if (cookie.Value.IsNullOrWhiteSpace()) { continue; } coockies.Add(cookie.Key, cookie.Value); } return(coockies); }