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

David Hequet david.hequet at free.fr
Tue Jun 9 09:28:55 EDT 2009


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-tp2592934p3049407.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list