[mapserver-dev] WMS and cookies

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Wed Jan 27 13:47:03 EST 2010

Then the cgiutils.c code would need to be outfitted to detect the type of request (OGC vs. CGI). I guess it'd need that anyway to do request specific processing w/env vars. Could a msIsOGCRequest() be crafted somehow?


-----Original Message-----
From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Daniel Morissette
Sent: Wednesday, January 27, 2010 12:44 PM
To: MapServer Dev Mailing List
Subject: Re: [mapserver-dev] WMS and cookies

Lime, Steve D (DNR) wrote:
> Perhaps this could be controlled by env vars? MS_OGC_IGNORE_COOKIES, MS_CGI_IGNORE_COOKIES and perhaps even an order one (e.g. MS_PARAMS_BEFORE_COOKIES) one. These would be set in the webserver configuration and processed within cgiutil.c. Since a runtime option isn't possible this would be better than a compile-time one... Just thinking out loud.

I agree this needs to be fixed for OGC/WMS, but since in the OGC/WMS 
case we never want cookies to be appended to params, the cookies should 
automatically be ignored in that case. For this reason I'm not too keen 
on requiring this kind of environment variables unless there is 
absolutely no other way to go.

Daniel Morissette
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org

More information about the mapserver-dev mailing list