Select to view content in your preferred language

URL length limits

6511
12
Jump to solution
05-30-2012 08:50 PM
ChristinaLaurier
Occasional Contributor
The application work such that:
-the user search's for an html atlas page of a particular species; on the atlas page there is a link to the interactive map
-the URL parameters (science name,commonname, synonyms, etc) from the atlas page get passed to the map
-the map queries all layers within the map service for these parameters and loads the corresponding points

The application however exceeds the URL length limit and our synonyms parameter has been restricted to keep the URL string under this limit.It seems that the application is using a get function rather than a post

-I am trying to solve this so that we can include all synonyms.
-I have read about the use of a proxy page as it uses a POST method but how would I go about using one?
   -download a proxy.jsp; add the map services to the proxy page
      -but how do I call upon the proxy page when the layer gets loaded? (in MapManager.mxml)
Tags (2)
0 Kudos
12 Replies
ChristinaLaurier
Occasional Contributor
Sorry,
I am sure on this. I will talk to my supervisor and gain as much information as I can from him on this matter.

Thanks for you help thus far!
0 Kudos
ChristinaLaurier
Occasional Contributor
Hi,

thanks for all the help!!

the solution actually involved the Identify widget;  In our existing identify widget, we had configured the URLquery (as we did in the MapManager.mxml) thus, the synonyms string would get tacked on to the end of URL again (exceeding the length limit). However, the newest version of the Identify widget seems to solve this issue.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Christina,

   Make sure you mark this thread as answered so that other can see what you did to make it work.
0 Kudos