Is the toolbar command an invoke script or invoke url command? Invoke url commands automatically get passed the SESSION and MAPNAME variables
Otherwise, window.opener returns the DOM element whose javascript code triggered the popup window. If you know where this popup window is triggered from, you can walk back up the frame hierarchy (from that DOM element) to the map frame where you can call GetSessionId() to get the session id. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Getting-the-MapGuide-SESSION-Variable-for-a-popup-form-tp7009543p7010803.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
