MapTools.org

[maplab-users] MapSession_RW not working

Sacha Fournier sfournier@dmsolutions.ca
Tue, 13 May 2003 08:13:03 -0400
Hi Matt,

Theorictly you only have to change your object to RW and set the temp 
directory of your object by calling 
$obj->setTempDir([tmp_dir_of_your_maps]);

Sacha

Matt Doggett wrote:
> I am trying to customize my GmapFactory application to generate a
> dynamic mapfile based on user inputs to an HTML form.
> After extensive trial/error I finally have a feel for how the Gmap
> application works and this led me to declaring a MapSession_RW object
> for $oMapSession (rather than the default MapSession_R object
> instantiated in globprefs.php).
> However, when I do this, the map display will not update at all...zoom,
> pan, selecting different layers, etc are all ignored and only the
> original (default) map is displayed in the Rosa applet.
> If I look in $gszTmpMapPath I find the temporary mapfiles that are
> created, and these mapfiles do reflect the changes made by the user.
> My question then is what additional change should I make so that the
> rosa applet gets the correct (modified) mapfile to display?
> This may be related to using map_session_mode=1 but I can't seem to get
> that to work either.
> Anyone else been down this road???
> 
> Md
> 
> (RedHat8.0, Apache2.0, Mapserver 3.6.4, Php4.2.3)
> 
> Matt Doggett
> Spatial Climate Analysis Service
> Oregon State University
> 316 Strand Ag Hall
> Corvallis, OR 97331
> (541)737-9153
> mdoggett@coas.oregonstate.edu
>  
> 
> 
> _______________________________________________
> Maplab-users mailing list
> Maplab-users@dmsolutions.ca
> http://lists.dmsolutions.ca/mailman/listinfo/maplab-users
> 

-- 
Sacha Fournier
Applications Developer
DM Solutions Group
sfournier@dmsolutions.ca
tel: 418.696.5056
fax: 418.696.5056

www.dmsolutions.ca
-- 
-------------------------------------------------
/"\  ASCII Ribbon Campaign against HTML
\ /  email and proprietary format
  X   attachments.
/ \
-------------------------------------------------



This archive was generated by Pipermail.