Author: moisescujardo | Posted on: 7/7/2009 8:57:40 PM | Views : 243

hi to all,


I have this problem. basically, I have this site url http://xxx.xxx.xx.xxx/authentication/keynet.
when I type in the url of the site to the browser, it pops up a login screen. I have the correct
login credentials for this site.

The code below aims to login to the site through the code.
But, all credentials fails, presenting me with a 401 Unauthorized
message.
Am I missing some point here? Please point me to the right direction.

protected void login_Authenticate(object sender, AuthenticateEventArgs e)
        {
            WebRequest request = WebRequest.Create("http://xxx.xxx.xx.xxx/authentication/keynet");
            request.Method = "POST";
            request.Pre ...

Go to the complete details ...