[mapguide-users] How to check if session is expired?

Chris Claydon chris.claydon at autodesk.com
Wed Nov 26 13:11:54 EST 2008


In the trunk Fusion code, it's in MapGuide.js. The method is called pingServer, and it is called repeatedly once the map session has been created.

    mapSessionCreated: function() {
        if (this.sMapResourceId != '') {
            this.loadMap(this.sMapResourceId);
        }
        window.setInterval(OpenLayers.Function.bind(this.pingServer, this), this.keepAliveInterval * 1000);
    },

In previous versions of Fusion, I'm pretty sure the same functionality existed, though it may not be in exactly the same location.

Chris.

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of gingerbbm
Sent: Wednesday, November 26, 2008 11:05 AM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] How to check if session is expired?


Hmm... I'll have to check this because I thought I was losing the connection
(hence my efforts).

--
View this message in context: http://www.nabble.com/How-to-check-if-session-is-expired--tp6146014p20706133.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


More information about the mapguide-users mailing list