Answer the question
In order to leave comments, you need to log in
Windows phone Cookie saving
The problem is this: I log in to the site, the server sends me cookies as expected. I intercept it and pack it in a CookieContainer and try to save it in IsolatedStorageSettings.
CookieContainer _Cookie = new CookieContainer();
var Settings = IsolatedStorageSettings.ApplicationSettings;
_Cookie.Add(new Uri("http://www.portal.fa.ru/Job/SearchResultDiv"), response.Cookies);
Settings.Clear();
Settings["UserID"] = userID;
Settings["Cookie"] = _Cookie;
Settings.Save();
var a = Settings["Cookie"];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question