[mapguide-users] Mapguide session timeout in Openlayers

Klaus Pedersen klauslp at gmail.com
Thu Aug 21 04:57:20 PDT 2014


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 <jumpinjackie at 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 at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20140821/76ef7c9f/attachment.html>


More information about the mapguide-users mailing list