Re: Web request with an existing cookie...



Andy Rose wrote:

> Thank you for your comments David. The site whose page I am trying to
> poll is an asp website that is using forms authentication. I believe
> that once the login form is submitted a session cookie is written
> back that is used to authenticate the user. What I would ideally like
> to do is manually login to the site to get the cookie on my hard
> drive then kick off my app using this cookie to repeatedly poll the
> response time for a specified restricted page.

You can do this using HttpWebRequest/HttpWebResponse.

Cheers,
--
http://www.joergjooss.de
mailto:news-reply@xxxxxxxxxxxxx
.



Relevant Pages

  • Re: Forms Authentication w/SubFolders
    ... > made a few days later that reports a similar issue: Sucessful authentication ... > the fact that this cookie exists, and returns to the login.aspx page. ... >>When the user access a resource in a subfolder, ... >>when the login form attempts to redirect the browser to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: custom token in asp.net
    ... I would keep this in a cookie. ... Bascially the scenario could be something ... when not authenticated it goes to the login form. ... > Is there a way to mimic windows integrated by using form authentication? ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: Dont name your teddy bear Mouhammud
    ... did the Blue Peter cat story make it across the Atlantic? ... There was a viewers' poll to determine its name, ... It was said that the name Cookie had won the ...
    (rec.arts.sf.fandom)
  • Re: Check user
    ... This is just a simple poll. ... Steve C. Orr wrote: ... Should I place a cookie in after the user voted? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Javascript vs VB Script cookie
    ... cookie function to poll portion of the site that will only allow users to ... vote once, per poll. ... person that made the site created a cookie using Javascript. ...
    (microsoft.public.scripting.vbscript)