Saturday, March 24, 2012

System.Net.WebClient

Hey all... i have to login a page and upload a file to that page ( cant
access to the code ) , Patrice and Kevin told me i could do it with
System.Net.WebClient, i could, but with a test site here in my intranet,
that website ( HTTPS ) detects i m not using the login form.. and i cant log
in that app...how can an ASP page detects if i login with the site or using
webclient ?

tnx..

--
CHIN@dotnet.itags.org.KD
www.racingclub.com.arGenerally the web app will look for a cookie in the request that was
issued during a succesful login (assuming the web app is using forms
authentication).

Some tips on how to programatically login:
http://odetocode.com/Articles/162.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Tue, 1 Feb 2005 09:22:58 -0300, "CHIN@.KD"
<racingnet_ac@.yahoo.com.ar> wrote:

>Hey all... i have to login a page and upload a file to that page ( cant
>access to the code ) , Patrice and Kevin told me i could do it with
>System.Net.WebClient, i could, but with a test site here in my intranet,
>that website ( HTTPS ) detects i m not using the login form.. and i cant log
>in that app...how can an ASP page detects if i login with the site or using
>webclient ?
>tnx..

0 comments:

Post a Comment