Webclient, redirect & session problem!

Last post 03-02-2004 7:44 PM by jorn79. 1 replies.

Sort Posts:

  • Webclient, redirect & session problem!

    03-02-2004, 3:32 PM
    • Member
      15 point Member
    • jorn79
    • Member since 03-02-2004, 10:30 AM
    • Posts 3
    I try to post a querystring to an ASP page using System.Net.WebClient. The asp page puts the querystring values into sessions and redirects to the next page on the same site. Then all session variables are lost. The same page works if a normal browser is used.

    There is no way I can get rid of thoose crappy asp session variables as the asp pages are not under my control. So I really need to get WebClient to work correctly.

    Any suggestions please?

    Thanks,

    Jørn.
  • Re: Webclient, redirect & session problem!

    03-02-2004, 7:43 PM
    • Member
      15 point Member
    • jorn79
    • Member since 03-02-2004, 10:30 AM
    • Posts 3
    Solved it :)


    It was because of a bug in WebClient.


    Put the code on my site if someone should be interested.

    http://jorn.aakre.no/articles/WebClientRedirect



    - jørn
Page 1 of 1 (2 items)