<?php $o['Default'] ='profile'; $k='profile'; /* $o[$k]['type'] = 'file'; $o[$k]['path'] = PATH_CACHE.'/sess/swun-%sessid.sess'; $o[$k]['cookref'] = NULL; $o[$k]['timeout'] = 60 * 60 * 2; //sessions is droped after 2hours of inactivity $o[$k]['lifetime']= 60 * 60 * 12; //sessions is droped after 12hours */ ///* $o[$k]['type'] = 'db'; $o[$k]['CNF'] = 'site_sessions'; $o[$k]['cookref'] = NULL; $o[$k]['timeout'] = 60 * 60 * 2; //maximum time between requests (2hours in seconde) $o[$k]['lifetime'] = 60 * 60 * 24; //maximum session duration (1day in seconde) //*/ return $o;