Platform  3.1
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
Class.SessionConf.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
5  * @package FDL
6 */
7 /**
8  * Generated Header (not documented yet)
9  *
10  * @author Anakeen 2000
11  * @version $Id: Class.SessionConf.php,v 1.4 2008/09/02 16:13:31 marc Exp $
12  * @license http://creativecommons.org/licenses/by-nc-sa/2.0/fr/ Anakeen - licence CC
13  * @package FDL
14  * @subpackage CORE
15  */
16 /**
17  */
18 // ---------------------------------------------------------------------------
19 // Marc Claverie (marc.claverie@anakeen.com)- anakeen 2000
20 // ---------------------------------------------------------------------------
21 // This program is free software; you can redistribute it and/or modify
22 // it under the terms of the GNU General Public License as published by
23 // the Free Software Foundation; either version 2 of the License, or (at
24 // your option) any later version.
25 //
26 // This program is distributed in the hope that it will be useful, but
27 // WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
28 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
29 // for more details.
30 //
31 // You should have received a copy of the GNU General Public License along
32 // with this program; if not, write to the Free Software Foundation, Inc.,
33 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
34 // ---------------------------------------------------------------------------
35 // $Id: Class.SessionConf.php,v 1.4 2008/09/02 16:13:31 marc Exp $
36 //
37 // $Log: Class.SessionConf.php,v $
38 // Revision 1.4 2008/09/02 16:13:31 marc
39 // set session alive until navigator to be closed (default)
40 //
41 // Revision 1.3 2004/08/05 09:31:22 eric
42 // multibase
43 //
44 // Revision 1.2 2003/08/18 15:46:42 eric
45 // phpdoc
46 //
47 // Revision 1.1 2002/01/08 12:41:34 eric
48 // first
49 //
50 // Revision 1.2 2000/10/11 12:18:41 yannick
51 // Gestion des sessions
52 //
53 // Revision 1.1 2000/10/09 10:44:02 yannick
54 // Déplacement des sessions
55 //
56 // Revision 1.1.1.1 2000/10/05 17:29:10 yannick
57 // Importation
58 //
59 // Revision 1.2 2000/07/04 17:32:19 marc
60 // Mise en conf
61 //
62 // Revision 1.1 2000/06/30 15:24:49 marc
63 // Mise en conf, version initiale
64 //
65 //
66 // ---------------------------------------------------------------------------
67 $DROITS_CLASS_SESSIONCONF_PHP = '$Id: Class.SessionConf.php,v 1.4 2008/09/02 16:13:31 marc Exp $';
68 
69 include_once ('Class.DbObj.php');
70 
71 class SessionConf extends DbObj
72 {
73 
74  var $fields = array(
75  "key",
76  "val"
77  );
78 
79  var $id_fields = array(
80  "key"
81  );
82 
83  var $dbtable = "session_conf";
84 
85  var $sqlcreate = "
86 create table session_conf ( key varchar(50),
87  val varchar(200));
88 create index session_conf_idx on session_conf(key);";
89 
90  var $sqlinit = "
91 insert into session_conf values ( 'TTL_INTERVAL' , 0 );
92 insert into session_conf values ( 'GC_DATE' , 0 );
93 insert into session_conf values ( 'GC_INTERVAL' , 3600 );
94 insert into session_conf values ( 'MAGIC' , 'La belle au bois dormant' );";
95 }
96 ?>
← centre documentaire © anakeen - published under CC License - Dynacase