[Mapbender-commits] r3286 - branches/beck_dev/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Dec 10 08:51:29 EST 2008


Author: beck
Date: 2008-12-10 08:51:28 -0500 (Wed, 10 Dec 2008)
New Revision: 3286

Modified:
   branches/beck_dev/http/javascripts/mod_mapCookie.php
Log:


Modified: branches/beck_dev/http/javascripts/mod_mapCookie.php
===================================================================
--- branches/beck_dev/http/javascripts/mod_mapCookie.php	2008-12-10 13:26:10 UTC (rev 3285)
+++ branches/beck_dev/http/javascripts/mod_mapCookie.php	2008-12-10 13:51:28 UTC (rev 3286)
@@ -21,6 +21,7 @@
 
 echo "var mod_mapCookie_target = '".trim($e_target[0])."';";
 
+/*
 $sql  = "SELECT var_name,var_value ";
 $sql .= "FROM gui_element_vars ";
 $sql .= "WHERE fkey_gui_id = $1 ";
@@ -33,8 +34,12 @@
 while($row = db_fetch_array($result)) {
 	echo "var mod_mapCookie_".trim($row["var_name"])." = '".trim($row["var_value"])."';";
 }
+*/
 ?>
 
+var mod_mapCookie_cookieLifetime = 7;
+var mod_mapCookie_cookieName     = 'stored_map_state';
+
 eventInit.register(restoreMapState);
 eventInit.register(triggerUnload);
 



More information about the Mapbender_commits mailing list