Hi, <BR><BR>I am trying to &#039;Spider&#039; a website and I was hoping someone could help me here... <BR><BR>Basically I have to POST to a page to login. <BR><BR>This works fine...the HTML I get back shows I am logged in. <BR><BR>It appears the way the site knows you are logged in is via a Session Cookie. <BR><BR>Now, for all future requests I am not sure how to appear as being logged in. <BR><BR>I have something like this: <BR><BR>============================ <BR>Function readHtmlPage(ByVal url As String) As String <BR>Dim strResult As String = "" <BR>Dim strPost As String = "username=*****&password=*****&action=login" <BR>Dim myWriter As StreamWriter <BR> &#039;Dim CookieContainer1 As New CookieContainer <BR>Dim objRequest As HttpWebRequest = WebRequest.Create(url) <BR><BR>objRequest.Method = "POST" <BR>objRequest.ContentLength = strPost.Length <BR>objRequest.ContentType = "application/x-www-form-urlencoded" <BR> &#039;objRequest.CookieContainer = CookieContainer1 <BR><BR>Try <BR>myWriter = New StreamWriter(objRequest.GetRequestStream()) <BR>myWriter.Write(strPost) <BR>Catch e As Exception <BR>Return e.Message <BR>Finally <BR>myWriter.Close() <BR>End Try <BR><BR>Dim objResponse As HttpWebResponse = objRequest.GetResponse() <BR>Dim sr As StreamReader <BR>sr = New StreamReader(objResponse.GetResponseStream()) <BR>strResult = sr.ReadToEnd() <BR>sr.Close() <BR><BR>Return strResult <BR>End Function <BR>============================ <BR><BR>Now, I have heard that using a CookieContainer may be heading in the right direction...but when I uncomment the CookieContainer code...I get a TimeOut error. <BR><BR>Anyway...can anyone offer any advice on how I can Grab the Session Cookie from the login POST request and use it for all future GET requests? <BR>