| re: POST to standard HTML and parse parameters in Javascript
Jay wrote:
[color=blue]
> Yeah,[/color]
Are you referring to something? See below.
[color=blue]
> I am integrating w/Google Maps and passing a large about of XML
> to the webpage via a GET request. Unfortunately there is a limit in
> the URL size of about 2083 kb I believe.[/color]
More like 2083 _bytes_ (here: characters), and AFAIK in Internet Explorer
only.
[color=blue]
> I believe that using a POST would allow me to send a larger amount of
> data.[/color]
Yes, it would.
[color=blue]
> I don't want to stand up a server or PHP since it is just a single page
> embedded in an Internet Explorer ActiveX control. I guess I'll just use
> COM to invoke a javascript method and pass the date that way.[/color]
Not understood. The server you would be POSTing to would be the server
where Google Maps runs on, so you do not need a server of your own. /Iff/
the Google Maps server-side script can handle POST the same way it can
handle GET data, you can make a POST request, using a form[method="POST"],
or an XMLHTTP request object (which is an ActiveX/COM object in IE).
However, with the latter there are some security restrictions (Same Origin
Policy) that may apply here. If these restrictions apply, you will need a
server of your own, though, to facilitate server-side redirection.
Please use "Options, Reply" in Google Groups to quote the minimum you are
replying to next time.
[color=blue]
> Thanks for the help!![/color]
You are welcome.
PointedEars |