[mapguide-trac] #1021: Avoiding login window in an application using flexible fusion weblayout

MapGuide Open Source trac_mapguide at osgeo.org
Mon Nov 2 20:32:56 EST 2009


#1021: Avoiding login window in an application using flexible fusion weblayout
------------------------------+---------------------------------------------
 Reporter:  msuing            |         Owner:          
     Type:  defect            |        Status:  reopened
 Priority:  high              |     Milestone:  2.2     
Component:  Fusion Templates  |       Version:  2.0.2   
 Severity:  blocker           |    Resolution:          
 Keywords:                    |   External_id:          
------------------------------+---------------------------------------------
Comment (by liuar):

 I have a new proposal to implement the ticket.

 1. Fusion already have a PHP file to create session named
 CreateSession.php in \fusion\layers\MapGuide\php, so I think we can reuse
 this PHP rather than create a new one(reviewer.php).[[BR]]
 2. Create a session before the first request send to the server to avoid
 the 401 Unauthorized dialog. In current version of Fusion, the first
 request is getting commercial api in application definition from Server.
 So we can create the session there rather than replace all MapGuide
 templates with reviewer.php.[[BR]]
 3. For the non-MapGuide users and developers, they can override the pre-
 created session with their specified one (browser URL or constructor). So
 this pre-created the session will not break other functions in
 MapGuide.[[BR]][[BR]]

 I have tested the code in IE, FF, Chrome and Safari and it works.
 Beside that, it can resolve the http://trac.osgeo.org/fusion/ticket/300
 which trapped us for a long time.[[BR]]

 This is the implementation
 http://trac.osgeo.org/fusion/attachment/ticket/300/fusion.patch. Would you
 please review it and give me your suggestion?[[BR]]

 Thanks, [[BR]]Arthur

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1021#comment:4>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list