<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#000080 size=2><SPAN class=576583017-03072009>I have
set-up a a dynamic layer with Mapserver and OpenLayers based on a user
defined query of data. </SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#000080 size=2><SPAN
class=576583017-03072009></SPAN></FONT><FONT face=Arial color=#000080
size=2><SPAN class=576583017-03072009></SPAN></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><FONT><SPAN
class=576583017-03072009>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 </SPAN></FONT>mergeNewParams<SPAN
class=576583017-03072009> 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...</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=576583017-03072009></SPAN></FONT></FONT></FONT> </DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=576583017-03072009>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).</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#000080><FONT size=2><SPAN
class=576583017-03072009>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 ?</SPAN></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT face=Arial color=#000080
size=2></FONT></FONT></FONT> </DIV>
<DIV class=MsoNormal align=left><FONT face=Arial><FONT size=2><FONT
color=#000080><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Verdana">Karsten
Vennemann<BR></SPAN><?xml:namespace prefix = st1 ns =
"urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="on"><st1:City
w:st="on"><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana">Seattle</SPAN></st1:City><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana">, </SPAN></st1:place><st1:country-region
w:st="on"><st1:place w:st="on"><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana">USA</SPAN></st1:place></st1:country-region></FONT><FONT
color=#003264><SPAN
style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana"> </SPAN></FONT></FONT></FONT></DIV></BODY></HTML>