Get the session info from the viewer for .jsp page

Vladimir G. Kogut vgkogut at
Mon Jun 19 09:56:30 EDT 2006

Can someone, please reconstruct for me first two lines of HelloMap.php
file from Developer's Guide:

// Get the session information passed from the viewer.
$mgSessionId = ($_SERVER['REQUEST_METHOD'] == "POST")
$mgMapName = ($_SERVER['REQUEST_METHOD'] == "POST")
? $_POST['MAPNAME']: $_GET['MAPNAME']; case those lines would be written for .jsp page (HelloMap.jsp)?


Vlad Kogut
Software Application Analyst
Chester Water Authority
437 West Front Str.
Chester, PA 19013
vgkogut at

More information about the Mapguide-users mailing list