Author: cengineer | Posted on: 7/19/2010 12:27:23 PM | Views : 331

I am trying to implement the webrequest get and post methods. I am accessing a secure site that requires login authentication and was told that instead of sending a login request all the time; login to the site and capture the cookie and use this to send it in the header to get results from the page. In other words let us use google for example. Lets say google required u to login before searching for something. Now I login through my browser and leave the site logged in. Now I send a httwebrequest from my program that includes the cookie authentication details in the request header and get results for say ?param=sports. Now when I increment the page number like &page=3, I am still only getting page 1 results. Any ideas?
Here is some code:
Public Function WebsRequest(ByVal method__1 As String, ByVal url As String, ByRef postData As String) As String Dim webRequest As HttpWebRequest = Nothing ...

Go to the complete details ...