HttpWebRequest with cookies

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SP

    HttpWebRequest with cookies

    I need to make an httpwebrequest in a winform.
    The first call is ok, and it is in GET.
    The second must use the cookie of the first call and then POST data to
    a uri.

    The are some sample code for manage cookies?

  • Herfried K. Wagner [MVP]

    #2
    Re: HttpWebRequest with cookies

    "SP" <dario.zandolin @gmail.com> schrieb:[color=blue]
    >I need to make an httpwebrequest in a winform.
    > The first call is ok, and it is in GET.
    > The second must use the cookie of the first call and then POST data to
    > a uri.[/color]

    Check out the code snippets at
    <URL:http://dotnet.mvps.org/dotnet/code/net/#CookieRequest> which
    demonstrate two different ways of handling cookies in .NET.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://classicvb.org/petition/>

    Comment

    Working...