I've found some strange issues with aaspam which I can't track down; let's see if removing some stuff about sessions will make it better :/

This commit is contained in:
real_nowhereman 2008-02-28 11:33:36 +00:00
parent 52aaf6ea3c
commit 61c2c36a95

View File

@ -2,24 +2,15 @@
function sess_setup($lifetime=3600) {
function sess_setup() {
if (SESSION_PATH != '')
session_save_path(SESSION_PATH);
global $fp_config;
$cparams=session_get_cookie_params();
if ($cparams['lifetime']>0 && $lifetime==0 )
$lifetime = $cparams['lifetime'];
session_set_cookie_params($lifetime);
session_name(SESS_COOKIE);
session_start();
// echo '<pre>', print_r($cparams,1), '</pre>';
}
@ -51,4 +42,4 @@
session_destroy();
}
?>
?>