[Mono-list] CookieContainer.GetCookie

Søren Juul zpon.dk at gmail.com
Fri Apr 25 07:03:30 EDT 2008


I am using a CookieContainer to use cookies when requesting webpages, but I
need to update some of the cookies, I was trying to do this by getting a
CookieCollection from my CookieContainer with the GetCookie(Uri) method,
when I do so, the CookieCollection is empty, even though i have ensured
there are only cookies in the CookeContainer with that Uri.

Very small example:
CookieCollection cookieColl = cookieJar.GetCookies(uri);

What could I be doing wrong?

Med venlig hilsen / Kind regards
Søren Juul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080425/2714d4f6/attachment.html 

More information about the Mono-list mailing list