Link to home
Start Free TrialLog in
Avatar of ZuZuPetals
ZuZuPetalsFlag for United States of America

asked on

C#: Best way to programmatically log into a secure web form and "surf" several pages using ASPSESSIONID cookie

What is the easiest/best way to authenticate using a simple POST using HTTPS and keep the session alive from page to page?

Some say System.Net.WebClient and some say HttpWebRequest/HttpWebResponse/CookieContainer.

Is there a built-in class that I can instantiate and call GET() and POST() methods on successively and it manages all host session details?
ASKER CERTIFIED SOLUTION
Avatar of Stephan
Stephan
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial