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:* [EMAIL PROTECTED]
    [mailto:[EMAIL PROTECTED] *On Behalf Of
    *Attila Berényi
    *Sent:* Thursday, March 13, 2008 5:18 AM
    *To:* [email protected]
    *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: [EMAIL PROTECTED] <mailto:http://www.laservision.hu>
    Web: http://www.laservision.hu

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to