[mapguide-users] Session has expired or is invalid

Zac Spitzer zac.spitzer at gmail.com
Tue Jun 29 09:00:31 EDT 2010


that was a nasty bug in how maestro generated urls for maps,
they were tied to the editing session which will always expire

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

this has been fixed recently, not sure if the latest build has this fix tho

studio has always done it the right way

z

On 29 June 2010 22:38, Martin Morrison <martin.morrison at edsi.com> wrote:
> User sessions expire after a few minutes of inactivity.  I think the default is 5 minutes, check serverconfig.ini
>
> *************************************************
> # ConnectionTimeout                Time duration in seconds for when an idle
> #                                  connection is dropped
> #                                       0 < Value <= 86400
> *************************************************
>
> What you should really be doing is not passing the session number with the URL.  Let the user create their own session.
>
> Martin Morrison
> Application Engineer
> Engineering Design Systems, Inc.
> 3780 Peters Creek Rd Ext SW
> Roanoke, VA  24018
> 540.345.1410
> gis.edsi.com
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of etm at sapo.pt
> Sent: Tuesday, June 29, 2010 7:52 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Session has expired or is invalid
>
> Hi All,
>
> I read all forums and answers about this question "Session has expired
> or is invalid. Please log in again." But can't resolve my problem.
>
> Resuming: I install MG OS on Win Server 2007 and everything works
> fine. Also I use MG Maestro to create maps. After create the maps
> inside Maestro I preview browse to view map URL and OK too.
>
> My problem is that when I try access this URL either from server or
> any other PC it works fine during a few hours but after I have this
> error message "Session has expired or is invalid. Please log in again.".
> I already try and change URL parameters putting "Anonymous" user, I
> change "gettingstarted.php for this user but the problem persist.
>
> What I'm doing wrong, anyone can help me please.
>
> This is the URL generated by Maestro that I use in PC browser:
>
> http://server/mapguide/mapviewerajax/?WEBLAYOUT=Session%3a9b192888-64f9-102d-8000-0050568c25c3_en_7F0000010AFC0AFB0AFA%2f%2f3e891125-e859-4a52-b745-b2137d1a3866.WebLayout&SESSION=9b192888-64f9-102d-8000-0050568c25c3_en_7F0000010AFC0AFB0AFA&USERNAME=Anonymous&PASSWORD=
>
> Best regards,
> Edu
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list