[OpenLayers-Users] OpenLayers.Ajax.Request question

Bobby Braswell rob.braswell at unh.edu
Fri May 16 14:59:18 EDT 2008


Hi-

We are using perl scripts on an apache server.

Rob Braswell

On May 16, 2008, at 2:32 PM, Matthew Atkins wrote:

> What server side technology are you using for your CGI script?
>
> -----Original Message-----
> From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org 
> ]
> On Behalf Of Bobby H. Braswell
> Sent: Friday, May 16, 2008 11:24 AM
> To: users at openlayers.org
> Subject: [OpenLayers-Users] OpenLayers.Ajax.Request question
>
>
> Hi-
>
> I am trying to call a cgi script using OpenLayers.Ajax.Request in
> OL2.6.  I have
> the following call:
>
> new OpenLayers.Ajax.Request(url, {
>  method: 'post',
>  parameters: {width: 150, height, 300},
>  onComplete: printDone});
>
> My problem is that if the method is post I am unable to get the
> parameters with my script. If I change it to 'get' everything works
> fine.  I cannot use the get method for the real call because I have
> another parameter that I need to pass which is very long and if I pass
> it with the get method then I get "URI Too Large" errors.
>
> Thanks very much.
>
> --
> Bobby H. Braswell (Rob)
> Institute for the Study of Earth Oceans and Space
> University of New Hampshire
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users




More information about the Users mailing list