[mapguide-commits] r6218 - trunk/MgDev/Web/src/HttpHandler
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Nov 10 21:25:36 EST 2011
Author: hubu
Date: 2011-11-10 18:25:36 -0800 (Thu, 10 Nov 2011)
New Revision: 6218
Modified:
trunk/MgDev/Web/src/HttpHandler/HttpWmsGetFeatureInfo.cpp
Log:
On behalf of Bruce Li(libr).
fixed ticket http://trac.osgeo.org/mapguide/ticket/1842.
reason:
The API of WMS Service, GetfeatureInfo, need session in its process. But in the previous modification, for improving the performance, destroysession function was called before the whole process have beed finished.
solution :
remove the function of destroysession in the GetfeatureInfo'process, Actually remove the code section from "MgHttpWmsGetFeatureInfo::AcquireResponseData(MgOgcServer* ogcServer)"
Modified: trunk/MgDev/Web/src/HttpHandler/HttpWmsGetFeatureInfo.cpp
===================================================================
--- trunk/MgDev/Web/src/HttpHandler/HttpWmsGetFeatureInfo.cpp 2011-11-11 01:57:24 UTC (rev 6217)
+++ trunk/MgDev/Web/src/HttpHandler/HttpWmsGetFeatureInfo.cpp 2011-11-11 02:25:36 UTC (rev 6218)
@@ -217,9 +217,6 @@
// The WMS Server takes ownership of the feature info
wmsServer->SetFeatureInfo(wmsFeatureInfo);
-
- // Destroy the session now that we are done
- site->DestroySession(session);
}
}
More information about the mapguide-commits
mailing list