Re: HTTPWebRequest and Redirect
- From: "Marina" <someone@xxxxxxxxxx>
- Date: Wed, 27 Jul 2005 15:00:07 -0400
So is this a page or a control? If it's a .ascx, it is not a page.
In any case, you should write a web service that is capable of
authenticating your user. It will be much easier to call, process the
response from, etc.
Both your .ascx and your web service can call some method to do the
authentication, so that you only need to write that code once.
"Hawksey" <Paul.Hawkes@xxxxxxxxx> wrote in message
news:1122490458.506289.3690@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I would like to be able to programatically(Using HTTPWebRequest and
> HTTPWebResponse) FORM post a user's credentials to a HTTPS login page
> (.ascx)control. The problem I think I have after attempting this and
> after reading other posts is; that if the login is successful data is
> retrieved from DB telling the login process where(which page) this user
> will be redirected to(different company users will go to different
> pages). Is it possible to get this redirect string into a variable and
> get it out of the request.GetResponse, with the cookie which would also
> have been created with successful login and do a redirect to the page
> from the posting client.
>
> Hope this makes sense.
>
.
- References:
- HTTPWebRequest and Redirect
- From: Hawksey
- HTTPWebRequest and Redirect
- Prev by Date: rewriting urls with isapi filters in .net
- Next by Date: Multiple Subdirectories with different login pages
- Previous by thread: HTTPWebRequest and Redirect
- Next by thread: Re: HTTPWebRequest and Redirect
- Index(es):
Relevant Pages
|