php mapscript question

Andrea Cappugi kappu72 at GMAIL.COM
Fri Mar 3 06:56:50 PST 2006


Thank for your answer John,
but what I'm doing is generating a new map fail based on a client request to
draw something, and at the moment I'm doing as you suggest but i would like
to maintain the server clean from  writing a lot of temp map files.
Thanks
Andrea

2006/3/3, openwereld.net <openwereld.net at home.nl>:
>
> Andrea Cappugi schreef:
> > Hi,
> > anybody knows if is possible to store a map object in a php Session
> > variable.
> > I have tired but map object stored in session variable loses its
> > internal handle.
> Hi Andrea,
>
> If I remember well, the serialize/unserialize of php is not symmetric
> with respect to the handles or null  values. So probably you can't store
> the map object in a session variable, but a possible alternative is to
> store the path to the map file in a session variable, and read that map
> file in an object at the start of the session.
>
> Cheers,
> John.
> > I apologize form my English
> > Thanks in advance
> > Andrea
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060303/15f2e119/attachment.htm>


More information about the MapServer-users mailing list