I am trying to switch from a web browser control to http requests for automating tasks for speed. With this function I can post data and receive a logged in page, but no coo
This post seems to have an answer with positive vote count: C# keep session id over httpwebrequest
Create a CookieContainer instance in your first request to the server, and instead of creating a new one for your next request, re-use that instance.