[mapguide-users] Mapguide session timeout in Openlayers

Jackie Ng jumpinjackie at gmail.com
Thu Aug 21 03:32:36 PDT 2014


This fragment looks suspect:

            // Pings map to avoid timeout

            setInterval(function () {

                var mLayers = map.GetScale();           

            }, 30000);

If GetScale() doesn't actually make a request to the mapagent with your
session id (and I strongly suspect it doesn't), then you're not actually
doing anything to keep that particular session alive.

- Jackie



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Mapguide-session-timeout-in-Openlayers-tp5157507p5157559.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list