View Single Post
  #18 (permalink)  
Old 02-06-2010, 10:12 AM
Erel's Avatar
Erel Erel is online now
Administrator
 
Join Date: Apr 2007
Posts: 15,676
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

The response object is only available after this line:
Code:
response.Value = request.GetAsyncResponse
So your code should look something like:
Code:
...
request.GetAsyncResponse
End Sub

Sub request_Response

response.Value = request.GetAsyncResponse
regex.New1("PHPSESSID=.[a-zA-Z0-9]+")
match.New1
match.Value = 
regex.Match(response.Headers)
Session_ID = match.String
...
About the stream, see the manual for an example of using Response.GetAsyncStream: HTTP
Reply With Quote