I will test it out. It looks like an easy fix. Your are right hardcoding magic numbers is not a good idea :-)
/Klaus Leth On Thu, Aug 21, 2014 at 1:22 PM, Jackie Ng <jumpinjac...@gmail.com> wrote: > If you want a dynamic setInterval() value instead of hard-coding 30 > seconds, > you can use GETSESSIONTIMEOUT as your keep-alive function > > http://trac.osgeo.org/mapguide/wiki/MapGuideRfc66 > > GETSESSIONTIMEOUT returns the session expiry timeout, which you can use to > calibrate/schedule the next GETSESSIONTIMEOUT keep-alive request. Making > this request will also keep said session alive. > > - Jackie > > > > -- > View this message in context: > http://osgeo-org.1560.x6.nabble.com/Mapguide-session-timeout-in-Openlayers-tp5157507p5157575.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > _______________________________________________ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users >
_______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users