[mapguide-users] authentication II

Juanita Juanita581 at riseup.net
Fri Jan 4 09:24:21 PST 2013


On 2013-01-04 17:48, andrewd [via OSGeo.org] wrote:
> I'm not sure that you can actually do this in fusion, but you should 
> search the  trac for tickets - I know there were originally requests 
> for this in fusion, but I can't remember if it ever got done.
>
> Andrew
>
> Sent from my iPhone
>
> On 2013-01-04, at 11:10 AM, Juanita <[hidden email] 
> </user/SendEmail.jtp?type=node&node=5025665&i=0>> wrote:
>
> > 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
> > [hidden email] </user/SendEmail.jtp?type=node&node=5025665&i=1>
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=5025665&i=2>
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://osgeo-org.1560.n6.nabble.com/authentication-II-tp5025338p5025665.html 
>
> To unsubscribe from authentication II, click here 
> <http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5025338&code=SnVhbml0YTU4MUByaXNldXAubmV0fDUwMjUzMzh8MzU4OTE3MjQx>.
> NAML 
> <http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 
>

Thanks Andrew,

Taking about this ticket ?

http://trac.osgeo.org/mapguide/ticket/1021

or something else ?

I just need login window in an application using flexible fusion 
weblayout :)





--
View this message in context: http://osgeo-org.1560.n6.nabble.com/authentication-II-tp5025338p5025669.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20130104/2cada1dd/attachment.html>


More information about the mapguide-users mailing list