Hi,
After I've succesfully logged into website using POST variables by httpwebrequest and got response by HttpWebResponse ..How do I query other websites with the "current logged in" instance? Do I save it to some variable??
From stackoverflow
-
POSTvariables are accessed server side, and user state would typically be stored with a cookie or in a session.The
HttpWebResponseclass offers aCookiescollection that you can use to save the encrypted authentication data or session key for use in futureHttpWebRequestunderHttpWebRequest.CookieContainer.Of course, this is all under the assumption that the initial request stores the user authentication data in one of these forms.
0 comments:
Post a Comment