Get the session info from the viewer for .jsp page

Vladimir G. Kogut vgkogut at chesterwater.com
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")
? $_POST['SESSION']: $_GET['SESSION'];
$mgMapName = ($_SERVER['REQUEST_METHOD'] == "POST")
? $_POST['MAPNAME']: $_GET['MAPNAME'];

...in case those lines would be written for .jsp page (HelloMap.jsp)?


Thanks,

Vlad Kogut
Software Application Analyst
Chester Water Authority
437 West Front Str.
Chester, PA 19013
vgkogut at chesterwater.com
610-876-876-0940x231 





More information about the Mapguide-users mailing list