HttpWebRequest with session cookies
I'm trying to programatically mine newsgroups like yahoo (among others), but
need to be able to sign into the site first. my assumption is that when i
sign in, a session cookie is created and is used to verify my identity for
each http request after that.
Does anyone have an example of using the HttpWebRequest with a URL that
requires a logon web page first, before accessing the content pages?
Re: HttpWebRequest with session cookies
On Wed, 8 Feb 2006 16:18:27 -0800, john conwell
>Does anyone have an example of using the HttpWebRequest with a URL that
>requires a logon web page first, before accessing the content pages?
You'll need a CookieContainer object around, and attach the
CookieContainer object to your HttpWebRequest objects to send and save
This might help, too:
|All times are GMT. The time now is 07:09 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.