Hey all,
I have a problem with adding cookies to a browser. I basically set my cookie:
I can see the cookie created in the browser (using FireFox I go to Options -> Privacy -> History -> Use custom settings for history -> Show Cookies).
The problem is, the cookie is NOT added as part of the HTTP request for the next url I navigate to. Is this a bug, am I doing something wrong?
I have a problem with adding cookies to a browser. I basically set my cookie:
CookiesManager cookiesManager = Manager.ActiveBrowser.Cookies;
Cookie myCookie =
new
Cookie();
myCookie.Name =
"MyCookieName"
;
myCookie.Value =
"SomeLongString"
;
myCookie.Domain =
"Domain"
;
myCookie.Path =
"/"
;
cookiesManager.SetCookie(myCookie);
I can see the cookie created in the browser (using FireFox I go to Options -> Privacy -> History -> Use custom settings for history -> Show Cookies).
The problem is, the cookie is NOT added as part of the HTTP request for the next url I navigate to. Is this a bug, am I doing something wrong?