I think I found solution for authentication. <?php $installDir = 'C:Program FilesMapGuideOpenSourcece.buildprop.entity.ProdStu dio=Studio\'; $extensionsDir = $installDir . 'WebServerExtensions\www\\'; $viewerDir = $installDir . 'mapviewerphp\\'; include $viewerDir . 'constants.php'; MgInitializeWebTier($extensionsDir . 'webconfig.ini'); $site = new MgSite(); $site->Open(new MgUserInformation("Anonymous", "")); $sessionId = $site->CreateSession(); $webLayout = "Library://Samples/Layouts/SamplesPhp.WebLayout"; ?> <html> <head> <title>Simple Sample Application</title> </head> <body marginheight="0" marginwidth="0"> <iframe id="viewerFrame" width="100%" height="100%" frameborder=0 scrolling="no" src="/mapguide/mapviewerajax/?SESSION=<?= $sessionId ?>& WEBLAYOUT=<?= $webLayout ?>"></iframe> </body> </html>
Anybody know how to set up first part of this code to be suitable for fusion template (MG 2.4, Apache) ? I mean the first part in PHP -- View this message in context: http://osgeo-org.1560.n6.nabble.com/authentication-II-tp5025338p5025648.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users