Re: pass credentials from win app to web app
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Oct 2008 14:20:09 -0500
There is no standard way to do this with forms authentication as forms
authentication is not a "standard" per say. Typically, the browser sends
some credentials to the server via a form POST and the server issues the
client a cookie which must be used on successive requests.
What you should do is examine the actual HTTP traffic during a login to the
web server using a tool like Fiddler and then recreate that programmatically
with HTTP web request. This process is what's called "screen scraping".
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
<susan phan> wrote in message news:2008108145658susanphan@xxxxxxxxxx
Hi Joe,
Do you have an example of how to pass user name and password using
HTTPWebRequest including the submit button? What I am trying to
accomplish is that I have a windows app and wanted to launch a secured web
app (forms authentication) without having the user providing login info.
Thanks
Susan
.
- References:
- pass credentials from win app to web app
- From: susan phan
- pass credentials from win app to web app
- Prev by Date: pass credentials from win app to web app
- Next by Date: RE: Access to restricted folder
- Previous by thread: pass credentials from win app to web app
- Index(es):