[mapserver-users] Location Bar

Puneet Kishor pkishor at GeoAnalytics.com
Mon Jul 22 05:46:36 PDT 2002


On Monday, July 22, 2002, at 06:41  AM, João Mário wrote:

> Hello!
>
> Thanks  TCHaddad for  aswer  the questions which i have send before. 
> The changes work fine!
>
>
> There is one more question  to all...
>
> I'm using basic mapserver....
>
> There is anyway to hide the data from the Location bar?
>
> When i execute mapserver the location shows something like this:
>
> http://www.adress.com.br/cgi-
> bin/mapserver/mapserv?zoomdir=-1&zoomsize=10&mode=browse&layer2=layer4&layer3=
> layer1&layer4=layer3&layer5=layer7&submit=Consultar&imgxy=249.5+299.5&imgext=
> 1491.706003+834.766724+1668.094797+1046.433276&map=%2F%2Fhome%2Fhttpd%2Fhtml%2Flotes%2Fmaps.
> map&savequery=true&mapext=shapes
>
>
> There is anyway to execute mapserver and the location bar just show: 
> http://www.adress.com.br/ ?
>
>

use post method instead of get... get sends the query string in the 
url... post embeds it in a form... make sure you have the appropriate 
hidden form variables defined that get populated on the client side with 
javascript, etc. yes, it will be prettier. needless to say, it will be a 
tad bit more complicated than what you are using till now.

pk/




More information about the MapServer-users mailing list