[mapguide-users] Re: Amend start page for when MGOS map opens up

Steve G steve.golden at morganhill.ca.gov
Wed Oct 27 12:35:13 EDT 2010


Maybe this is to simple of answer (or I don't quite understand how you are
trying to load your weblayout or if you want your user to type in username
and password), but the best starting place would be to download the php
viewer sample and edit the file called ajaxviewersample.php.  On line 33-34
you'll find the following code:

	$site = new MgSite();
	$site->Open(new MgUserInformation('Anonymous', ''));

You just have to change the username, password accordingly.

-Steve
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Amend-start-page-for-when-MGOS-map-opens-up-tp5677707p5679321.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list