[mapguide-users] MGE 2010: fusion pre-authentication (autologin) no longer works

GordonL gordon.luckett at arrowgeomatics.com
Mon Jun 22 16:39:02 EDT 2009


Hi, I am having the same problem:

http://squamish2010.ca/mapguide2010/fusion/templates/mapguide/googleaqua/index.html?APPLICATIONDEFINITION=Library://Contaminants/Layouts/Contaminants_Flexible_Layout.ApplicationDefinition&SESSION=10d6c434-4199-102c-8000-005056000000_en_7F0000010AF20AF10AF0

this link (when the session is active) works great in Safari and Internet
Explorer 
but FIREFOX still wants an authentication??  

Did anyone figure this one out?

thanks
gordon




David Hequet wrote:
> 
> Hi, 
> 
> i'm experiencing the same issue: MGE 2010 With Firefox 3.0.6 or 3.0.10
> don't use the session parameters.
> Did you find a solution?
> 
> 
> David Hequet
> 
> 
> 
> Jani Forssell wrote:
>> 
>> Hi,
>> 
>> We're using the standard Fusion authetication code that opens a
>> connection to the MG site and creates a session and then passes it to
>> the fusion viewer via the "Session" query parameter. It used to work
>> with MGE 2009, but no longer works with MGE 2010. At least with Firefox
>> 3.0.8 I get a login dialog from MapGuide. With IE8 and Chrome I don't. 
>> 
>> Here's the code:
>> try
>> {
>>    MapGuideApi.MgInitializeWebTier(@"C:\Program
>> Files\Autodesk\MapGuideEnterprise2010\WebServerExtensions\www\webconfig.
>> ini");
>>    MgUserInformation userInfo = new MgUserInformation(defaultUser,
>> defaultPassword);
>>    MgSite site = new MgSite();
>>    site.Open(userInfo);
>>    sessionId = site.CreateSession();
>>  
>> Response.Redirect("../fusion/templates/mapguide/slate/index.html?Applica
>> tionDefinition=" + webLayout + "&Session=" + sessionId);
>> }
>> catch (Exception e)
>> {
>>    Response.Write(e.Message);
>> }
>> 
>> An example URL generated is:
>> 
>> http://server/mapguide2010/fusion/templates/mapguide/slate/index.html?Ap
>> plicationDefinition=Library://Samples/Sheboygan/Layouts/Flexiblegan.Appl
>> icationDefinition&Session=f7b8db74-04e7-102c-8000-000c299e04c9_en_3EEC8C
>> A00AF20AF10AF0
>> 
>> Any ideas on how to get this working with MGE 2010?
>> 
>> Regards,
>> Jani Forssell
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> 
>> 
> 
> 

-- 
View this message in context: http://n2.nabble.com/MGE-2010%3A-fusion-pre-authentication-%28autologin%29-no-longer-works-tp2592934p3138583.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list