Another solution, is to create a session. Only the session will be displayed in the address bar, not the login and the password.
Here is the code : <head> <?php // Initialize the web tier - path to webconfig.ini MgInitializeWebTier('C:\\Program Files\\OSGeo\\MapGuide\\Web\\www\\webconfig.ini'); // Establish a connection to the site with a username and a password $userInformation = new MgUserInformation($_POST[username], $_POST[password]); $siteConnection = new MgSiteConnection(); $siteConnection->Open($userInformation); // Create a session repository $site = $siteConnection->GetSite(); $sessionID = $site->CreateSession(); $url = "http://srv2k8-sig:8008/mapguide/fusion/templates/mapguide/c3r/index.html?ApplicationDefinition=Library://maps/full-app.ApplicationDefinition&locale=fr"; header('Location:'.$url.'&session='.$sessionID); ?> </head> -- View this message in context: http://osgeo-org.1560.x6.nabble.com/authentication-II-tp5025338p5091861.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