[OpenLayers-Users] Problem with maximum URL length

JK Chen jk.chen at sdl.usu.edu
Thu Jun 9 12:18:38 EDT 2011


IE cutting URL to less than 2048 is a known limitation of IE. I'm not sure how to relax the constraints. But I guess there will be ways.

Regards

JK

-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org [mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of Andreas Neumann
Sent: Thursday, June 09, 2011 10:13 AM
To: users at openlayers.org
Subject: [OpenLayers-Users] Problem with maximum URL length

 Hi all,

 I have a project with many WMS layers which have rather long layer  names. Now I seem to be hitting a maximum URL length restriction of IE  in the GetFeatureInfo request. See also
 http://support.microsoft.com/kb/208427

 Do you have any ideas for a workaround? Would a post request work with  OpenLayers.Control.WMSGetFeatureInfo ?

 My project has >50 layers with rather long names and while debugging I  saw that the URL was around 3000 characters long. IE just cut the URL  off at 2047 characters and my WMS server resulted in a 500 error code.

 Any ideas?

 Thank you very much,
 Andreas

--
 --
 Andreas Neumann
 Böschacherstrasse 10A
 8624 Grüt (Gossau ZH)
 Switzerland
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list