CGI Variable String Length Limit

Ethan Alpert ealpert at DIGITALGLOBE.COM
Wed Jul 27 17:01:04 EDT 2005


1K is the parameter size limit for URL's using the "GET" method.

-e

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Aubrey Jackson
Sent: Wednesday, July 27, 2005 2:44 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] CGI Variable String Length Limit


I need to send a fairly long string variable to the MapServer CGI to
render features on a map. The varible activates a layer which displays
the features I desire. I'm sending the expression in a POST method due
to the limitations on length in GET.

My problem is that I can't get the layer to display. I don't get any
error message that indicates a problem; I just don't get a map. My call
to the MapServer CGI is of the following form:

/cgi-bin/mapserv?map=/var/www/html/maps/bridge.map&mapExt=-129.101818
22.000000 -63.898182 50.000000&mode=map&BOARDEXP ='[NRDS_ID]' eq '2415'
or '[NRDS_ID]' eq '3505' or '[NRDS_ID]' eq '8600' or '[NRDS_ID]' eq
'2960' ..., where the BOARDEXP variable can be extremely long.

I have searched the archives to see if I could find any information
concerning a limit, to no avail.

Does anyone know if there is a limit?


Thanks,

Aubrey



More information about the mapserver-users mailing list