How to pass username and password from web application to application?

Posted by Juvy_Paira under ASP.NET on 1/16/2013 | Points: 10 | Views : 1127 | Status : [Member] | Replies : 2
Hi guys,

I really need your help. How to pass username and password using postpage?

Thanks a lot.


regards,

juvy




Responses

Posted by: Ranjeet_8 on: 1/16/2013 [Member] [MVP] Gold | Points: 25

Up
0
Down
Try this

try
{
PostData MyPostdata = new PostData();
MyPostdata.Url = "https://www.xyzCompany.com/verification.aspx";
MyPostdata.Add("UserID", UserID);
MyPostdata.Add("DistributorCode", DCODE);
MyPostdata.Add("SessionID", YourSessionID);
MyPostdata.Post();
}
catch { }


Please Mark As Answer if this helps you

.

Juvy_Paira, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Juvy_Paira on: 1/17/2013 [Member] Starter | Points: 25

Up
0
Down
hi guys, need more example about this one in asp.net form. Please help.

Juvy_Paira, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response