In the past, I used several HttpWebRequest
, but all of them were used to enter the site.
I was wondering how to make WebRequest
mimic a WebBrowser
so that when you are logged in, go to a new page, maybe follow an action there, and then go to another page?
I already knew a little about this, and I think it could be due to the use of cookies from previous requests or something else.
My question is: how do I (I assume) get cookies from a previous session, then go to the page or perform the action as if we were on the last request, if that makes sense.
source share