Click here to Skip to main content
15,902,842 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use httpwebrequest and httpwebresponse to get data from an url(ex:Text.aspx). But first I must logon at Login.aspx. How can I do that? Thanks.
Posted

1 solution

Hi
You must have to enter user details in httpwebRequest.

check this
How to use HttpWebRequest and HttpWebResponse in .NET[^]
 
Share this answer
 
v2
Comments
rossi460 24-Sep-11 5:08am    
I used httpwebRequest to login but after login. I want to redirect to page to get data but it redirect to login page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900