this time I really think I fixed it

This commit is contained in:
seek3r 2002-01-02 20:29:51 +00:00
parent efd94ed2b8
commit 28d77dcd4a

View File

@ -389,7 +389,7 @@
$GLOBALS['phpgw_session']['session_flags'] = $session_flags;
$GLOBALS['HTTP_SESSION_VARS']['phpgw_session'] = $GLOBALS['phpgw_session'];
session_register($phpgw_session);
session_register('phpgw_session');
//$GLOBALS['phpgw']->db->query('INSERT INTO phpgw_access_log(sessionid,loginid,ip,li,lo,account_id) '
// ." VALUES ('" . $this->sessionid . "','" . "$login','" . $user_ip . "',".$now.",''," . $this->account_id . ")",__LINE__,__FILE__);
@ -602,7 +602,7 @@
$GLOBALS['phpgw_session']['session_flags'] = $session_flags;
$GLOBALS['HTTP_SESSION_VARS']['phpgw_session'] = $GLOBALS['phpgw_session'];
session_register($phpgw_session);
session_register('phpgw_session');
//$GLOBALS['phpgw']->db->query("INSERT INTO phpgw_access_log VALUES ('" . $this->sessionid . "','"
// . "$login','" . $user_ip . "','$now','','" . $this->account_id . "')",__LINE__,__FILE__);
@ -630,7 +630,7 @@
$GLOBALS['phpgw_session']['session_action'] = $action;
$GLOBALS['HTTP_SESSION_VARS']['phpgw_session'] = $GLOBALS['phpgw_session'];
session_register($phpgw_session);
session_register('phpgw_session');
return True;
}
@ -720,7 +720,7 @@
$GLOBALS['phpgw_session']['phpgw_app_sessions']['phpgwapi']['phpgw_info_cache'] = '';
$GLOBALS['HTTP_SESSION_VARS']['phpgw_session'] = $GLOBALS['phpgw_session'];
session_register($phpgw_session);
session_register('phpgw_session');
}
function save_repositories()
@ -752,7 +752,7 @@
// I added these into seperate steps for easier debugging
$data = $GLOBALS['phpgw_session']['phpgw_app_sessions'][$appname][$location]['content'];
$GLOBALS['HTTP_SESSION_VARS']['phpgw_session'] = $GLOBALS['phpgw_session'];
session_register($phpgw_session);
session_register('phpgw_session');
// Changed by Skeeter 2001 Mar 04 0400Z
// This was not properly decoding structures saved into session data properly
// $data = $GLOBALS['phpgw']->common->decrypt($data);
@ -773,7 +773,7 @@
$encrypteddata = $GLOBALS['phpgw']->crypto->encrypt($data);
$GLOBALS['phpgw_session']['phpgw_app_sessions'][$appname][$location]['content'] = $encrypteddata;
$GLOBALS['HTTP_SESSION_VARS']['phpgw_session'] = $GLOBALS['phpgw_session'];
session_register($phpgw_session);
session_register('phpgw_session');
return $data;
}
}