fix for bug [ 997669 ] Session Error with db-sessions

This commit is contained in:
Ralf Becker 2004-08-07 17:44:37 +00:00
parent 4fb9fd8ce4
commit 4346d06789

View File

@ -59,6 +59,8 @@
function register_session($login,$user_ip,$now,$session_flags)
{
$GLOBALS['phpgw']->db->query("DELETE FROM phpgw_sessions WHERE session_id='$this->sessionsid'",__LINE__,__FILE__);
$GLOBALS['phpgw']->db->query("INSERT INTO phpgw_sessions VALUES ('" . $this->sessionid
. "','".$login."','" . $user_ip . "','"
. $now . "','" . $now . "','" . $_SERVER['PHP_SELF'] . "','" . $session_flags