ASP wrapper and HTTP GET requests

Jerry Pisk jerry.pisk at GMAIL.COM
Tue Feb 22 20:46:03 EST 2005


You can easily change that sample ASP page to support POST requests,
replace the query string read with this:

Select Case Request.ServerVariables("REQUEST_METHOD")
  Case "GET" strRequest = Request.QueryString
  Case "POST" strRequest = Request.Form
  Case Else ' Handle other methods here
End Select

The problem in bug 1253 is not related to this though, it's caused by
a missing template in a mapfile as far as I can tell.

Jerry Pisk

On Tue, 22 Feb 2005 18:27:57 -0500, Kralidis,Tom [Burlington]
<Tom.Kralidis at ec.gc.ca> wrote:
> Hi,
>
> There seems to be a problem with the ASP wrapper example provided for
> hiding the mapfile from:
>
> http://mapserver.gis.umn.edu/doc44/wms-server-howto.html#onlineresourceu
> rl
>
> I've filed a bug against this:
>
> http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1253
>
> The wrapper script doesn't support POST requests.
>
> Are there any ASP gurus out there who can tweak the example so that it
> can recognize when a POST request comes in and pass it as such?
>
> Thanks
>
> ..Tom
>



More information about the mapserver-dev mailing list