[mapguide-trac] #1026: Prevent session timeout,
and give better error messages (RFC 66)
MapGuide Open Source
trac_mapguide at osgeo.org
Tue Jul 14 03:18:59 EDT 2009
#1026: Prevent session timeout, and give better error messages (RFC 66)
---------------------+------------------------------------------------------
Reporter: CXYS | Owner: Tom Fukushima
Type: defect | Status: reopened
Priority: medium | Milestone: 2.2
Component: General | Version: 2.0.2
Severity: major | Resolution:
Keywords: | External_id:
---------------------+------------------------------------------------------
Comment (by christinebao):
Attach FixGetSessionTimeoutAPI.patch which fixed a silly mistake.
Although the code builds and works, I find that no matter what value I set
for server timeout, MapAgent always gets 1200.
This is because this code runs at Web Tier! MgConfiguration.GetInstance()
gets webconfig.ini actually, not serverconfig.ini as expected. Thus it
can't find SiteServicePropertiesSection, and returns the default value,
which is 1200 always.
The right way is to send command to server and get the value from
serverconfig.ini.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1026#comment:7>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list