Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Web Server OCX and URI Variables

6 views
Skip to first unread message

Jim

unread,
Aug 8, 2005, 9:59:37 PM8/8/05
to
I'm having a problem with the Web Server OCX. I'm trying to use it as
an XML host, but it is not working if I include any variables on the
URI.

For example, when I enter "http://localhost/search_upd", it triggers a
GET request that I can capture in OnGetRequest. However, when I enter
"http://localhost/search_upd?Name=Joe", it triggers the GET request
-without- invoking OnGetRequest.

This really has me confused. I've placed debugging code as the first
statement of OnGetRequest (and OnPostRequest), but this is only invoked
if nothing follows the '?' in the URI (or if there is no '?').

It's as if the OCX responds directly to any GET with an '?' without
passing it on. BTW, I'm getting a 404 File Not Found error.

Any ideas? I am capturing the GETs (and POSTs).

Also, I've seen others recommend that only POSTs be handled. How can I
start a conversation with a POST, and pass it data? I'm trying to
build an automatic update function for my software, and need to pass it
the customer's name, id, etc., right from the getgo. I want to do it
all without user interaction, so displaying a page and requiring them
to press a button isn't acceptable.

I'm using the latest Paradox 9 and Windows XP SP2.

Thanks in advance!
Jim Moseley

0 new messages