[fusion-commits] r1579 - branches/fusion-1.1/MapGuide

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Oct 1 13:42:24 EDT 2008


Author: madair
Date: 2008-10-01 13:42:24 -0400 (Wed, 01 Oct 2008)
New Revision: 1579

Modified:
   branches/fusion-1.1/MapGuide/MapGuide.js
Log:
re #88: add session id to tile requests to prevent auth prompts

Modified: branches/fusion-1.1/MapGuide/MapGuide.js
===================================================================
--- branches/fusion-1.1/MapGuide/MapGuide.js	2008-10-01 14:46:05 UTC (rev 1578)
+++ branches/fusion-1.1/MapGuide/MapGuide.js	2008-10-01 17:42:24 UTC (rev 1579)
@@ -505,9 +505,9 @@
       var params = {};
       if ( bSingleTile ) {
         params = {        //single tile params
-          session : this.getSessionID(),
-          mapname : this._sMapname,
-          clientagent : this.clientAgent
+          session: this.getSessionID(),
+          mapname: this._sMapname,
+          clientagent: this.clientAgent
         };
         params.showLayers = this.aShowLayers.length > 0 ? this.aShowLayers.toString() : null;
         params.hideLayers = this.aHideLayers.length > 0 ? this.aHideLayers.toString() : null;
@@ -519,7 +519,8 @@
         params = {      //tiled version
           mapdefinition: this._sResourceId,
           basemaplayergroupname: this.groupName,  //assumes only one group for now
-          clientagent : this.clientAgent
+          session: this.getSessionID(),
+          clientagent: this.clientAgent
         };
       }
 



More information about the fusion-commits mailing list