[Mono-list] CookieContainer.GetCookie

Daniel Nauck dna at mono-project.de
Fri Apr 25 07:53:34 EDT 2008


Hello,

please upgrade Mono to Version 1.9.1 and try again.
I fixed a lot of similar bugs/problems for 1.9.


Daniel

Søren Juul schrieb:
> Hi Daniel
> 
> $ mono --version
> Mono JIT compiler version 1.2.6 (tarball)
> 
> gmcs --version
> Mono C# compiler version 1.2.6.0 <http://1.2.6.0>
> 
> I am using gmcs to compile
> 
> 2008/4/25 Daniel Nauck <dna at mono-project.de <mailto:dna at mono-project.de>>:
> 
>     Hello,
> 
>     what version of Mono are you using?
> 
>     Daniel
> 
>     Søren Juul schrieb:
> 
>         Hello
> 
>         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);
>         Console.WriteLine(cookieColl.Count.ToString());
> 
>         What could I be doing wrong?
> 
>         -- 
>         Med venlig hilsen / Kind regards
>         Søren Juul
> 
> 
>         ------------------------------------------------------------------------
> 
>         _______________________________________________
>         Mono-list maillist  -  Mono-list at lists.ximian.com
>         <mailto:Mono-list at lists.ximian.com>
>         http://lists.ximian.com/mailman/listinfo/mono-list
> 
> 
> 
> 
> -- 
> Med venlig hilsen / Kind regards
> Søren Juul


More information about the Mono-list mailing list