[mapserver-users] re-read map file without new session

Attila Berényi aberenyi at burken.hu
Thu Mar 13 06:02:44 PDT 2008


Hi there,

Thanks for the reply, but I'm using PHP/MapScript.
I figured out a solution, which isn't very sophisticated, but it works.
I've tried to refresh my map content with this JS command:

opener.location.reload();

But nothing happened. Than I've changed this to

opener.location='../../../map.phtml';

and it worked! It's ugly, and I hope I'll find an other solution.

Attila

Fawcett, David írta:
> If you are using MapServer CGI, the map file gets parsed every time a 
> call is made to mapserv.
>
>     -----Original Message-----
>     *From:* mapserver-users-bounces at lists.osgeo.org
>     [mailto:mapserver-users-bounces at lists.osgeo.org] *On Behalf Of
>     *Attila Berényi
>     *Sent:* Thursday, March 13, 2008 5:18 AM
>     *To:* mapserver-users at lists.osgeo.org
>     *Subject:* [mapserver-users] re-read map file without new session
>
>     Dear List,
>
>     My experience shows that the 'main' map file is only read by
>     mapserver once on session start.
>     Is there any possibility to re-read the map file without the need
>     of close the window and open a new one?
>
>     Thanks,
>
>     Attila
>     -- 
>     Berényi Attila / Attila Berényi
>     okl. térinformatikus mérnök / MSc. GIS engineer
>     Burken Kft. / Burken Ltd.
>
>     H-1155 Budapest, Obsitos tér 2.
>     Tel1: +36-1-415-0219
>     Tel2: +36-1-415-0220
>     Fax: +36-1-410-1314
>     E-mail: aberenyi at burken.hu <mailto:http://www.laservision.hu>
>     Web: http://www.laservision.hu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080313/5ed9a817/attachment.htm>


More information about the MapServer-users mailing list