Re: Web request with an existing cookie...
- From: Andy Rose <AndyRose@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 May 2005 06:26:06 -0700
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.
"David Lloyd" wrote:
> Andy:
>
> My understanding is that it depends on the type of authentication you are
> using. The CrendentialCache is used to store login credentials for multiple
> resources.
>
> This issue was addressed in the June, 2005 Web Q&A section of MSDN magazine.
> Please see the following link for more information and a code sample.
>
> http://msdn.microsoft.com/msdnmag/issues/05/06/WebQA/default.aspx
>
> --
> David Lloyd
> MCSD .NET
> http://LemingtonConsulting.com
>
> This response is supplied "as is" without any representations or warranties.
>
>
> "Andy Rose" <AndyRose@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:337AD704-40F4-4E47-9734-A5487A2880B2@xxxxxxxxxxxxxxxx
> Hi,
>
> I'm writing a small c# app to test response times of specific pages of a
> website. What I need to know is when I make the request to a restricted page
> can I pass an authentication cookie that all ready exists on my hard drive
> rather than go through a whole login process to capture the cookie? I
> suspect
> that this isn't an option but it would save me a whole world of time if it
> was.
>
> Thanks in advance for any help, Andy
>
>
>
.
- Follow-Ups:
- Re: Web request with an existing cookie...
- From: Joerg Jooss
- Re: Web request with an existing cookie...
- References:
- Web request with an existing cookie...
- From: Andy Rose
- Re: Web request with an existing cookie...
- From: David Lloyd
- Web request with an existing cookie...
- Prev by Date: Re: Problem with Event handlers for Dynamic created Controls in DatGri
- Next by Date: Progressbar using XMLHTTPRequest
- Previous by thread: Re: Web request with an existing cookie...
- Next by thread: Re: Web request with an existing cookie...
- Index(es):
Relevant Pages
|