Karsten, What part of your request is taking up so many characters?
If it is the query string, perhaps you can hard code most of the query in your map file and then only send the where clause or certain criteria as substitutions to MapServer? David. On Fri, Jul 3, 2009 at 1:28 PM, karsten vennemann<[email protected]> wrote: > I have set-up a a dynamic layer with Mapserver and OpenLayers based on a > user defined query of data. > > In my Mapserver file I have defined a PostGIS layer with a replacement > variable. The user fills in values in a query builder html form, the > resulting SQL string is sent via POST to a PHP page containing the > OpenLayers map. Using mergeNewParams the SQL string is merged into the the > request for the layer, MapServer handles the replacement variable and the > dynamic layers is displayed correctly. So far this works great in Firefox > but for the most complicated queries coming out of the query builder the SQL > string is becoming very long and the request by Openlayers to display the > layer will exceed 2048 characters (the apparent limit for IE 7) - thus > breaking the application... > > Here is my question how can I set this up so that it is still working also > in IE (preferably without changing the data base column names and without > using MapScript). > Is there a way that I can use POST instead of GET to transmit the SQL string > to MapServer somehow. Any other ideas how I can get this done ? > > Karsten Vennemann > Seattle, USA > _______________________________________________ > Users mailing list > [email protected] > http://openlayers.org/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
