[mapguide-users] Re: Getting the MapGuide SESSION Variable for a popup form

Jackie Ng jumpinjackie at gmail.com
Sat Nov 19 01:51:24 EST 2011


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.


More information about the mapguide-users mailing list