[mapguide-users] Re: GetSessionID with Fusion

GordonL gordon.luckett at arrowgeomatics.com
Tue Jun 8 08:54:11 EDT 2010



Try:

<script type="text/javascript">
window.onload = function() {
    Fusion.initialize();
 var mapWidget = window.top.iFrameMap.Fusion.getWidgetById('Map'); 
 
 SESSION = mapWidget.getSessionID();
 MAPNAME = mapWidget.getMapName(); 

alert(SESSION);
alert(MAPNAME);

</script>


<iframe id="iFrameMap" name="iFrameMap" width="100%" height="100%"
frameborder=0  
src=”http://squamish2010.ca//mapguide2010/fusion_viewer.php?APPLICATIONDEFINITION=Library://Contaminants/Layouts/Contaminants_Flexible_Layout.ApplicationDefinition&TEMPLATE=googleaqua_contaminants”></iframe>


-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/GetSessionID-with-Fusion-tp4753328p5153526.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list