Re: pass credentials from win app to web app



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


.


Quantcast