Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 8th, 2005, 10:37 AM
Registered User
 
Join Date: Sep 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default xmlHttp maintaining session with server

Dear all,

My project is to 'screenscrape' data from a a set of results pages based on a search form on that site.

Using MSXML2.XMLHTTP40 I have so far managed to POST a request to the site and receive the first of the results pages. At the bottom of the page are the standard "1, 2, 3, 4... Next" type of links to futher pages of results.

Using my parser I find the link to page "2" and send a GET with that URL. Instead of receiving the next page of results I get a page showing zero results. The same happens for any of the results pages.

I think the problem has something to do with my HTTP session, and the fact that this database requires a log-in for access. Should I be sending a cookie with each of my "GET"s so that server knows who I am? If so where can I find this cookie or how can I make it?

Many thanks,
Oscar





Similar Threads
Thread Thread Starter Forum Replies Last Post
maintaining session state in C# grs General .NET 0 January 13th, 2005 03:46 AM
Having trouble with Maintaining Session State kmattera Classic ASP Basics 0 December 7th, 2004 08:47 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.