<?php if (!isset($__session_inc__)){ $__session_inc__=1; //require("cookie.inc.php3"); # ------------------------------------------------------------------- # Session Management v1.0 21.6.1998 # (c) Wild Karl Heinz <kh.wild@wicom.at> # # This Include handle Session based variable handling # # Please feel free and use it. If you make it more functional # it would be nice to send me a copy. # # Don’t forget - Mysql_connect ! # # The database structure # Table structure for table ’session’ # # CREATE TABLE session ( # id int(11) DEFAULT ’0’ NOT NULL auto_increment, # sid varchar(20) DEFAULT ’’ NOT NULL, # val blob, # times timestamp(14), # PRIMARY KEY (id), # KEY sid (sid), # UNIQUE sid_2 (sid) # ); # # You’ll miss here a cron job to delete the old sessions from db # -------------------------------------------------------------------