[mapserver-users] Left click loses CGI variables

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Thu Dec 18 08:10:36 PST 2014


What sort of a client environment are you working in? This doesn't sound like a MapServer problem unless you're using mode=browse. I'd think you'd manage those variables within OL, Leaflet or whatever and just keep attaching values to calls back to the server.

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Stephen Davies
Sent: Wednesday, December 17, 2014 8:33 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Left click loses CGI variables

When sending output to PDA devices, I use a direct call to mapserv with several run-time substitution variables to set filters.

This works perfectly for the initial display but if the user clicks the resulting map, the redisplay loses all of the variables.

This led to errors in the redisplay because %foo% was no longer replaced so I added default_foo entries to the mapfile.

This prevents the errors but means that nothing matches the default filter.

How can I tell mapserv to retain the original variables?

Cheers and thanks,
Stephen
--
=============================================================================
Stephen Davies Consulting P/L                             Phone: 08-8177 1595
Adelaide, South Australia.                                Mobile:040 304 0583
Records & Collections Management.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list