<?php if (!isset($__session_inc__)){ $__session_inc__=1; //require("cookie.inc.php3"); # ------------------------------------------------------------------- # session management v1.0 21.6.1998 # (c) wild karl heinz <[email protected]> # # 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 # -------------------------------------------------------------------