diff --git a/phpgwapi/inc/class.sessions_php4.inc.php b/phpgwapi/inc/class.sessions_php4.inc.php index 237118529b..b508f6460e 100644 --- a/phpgwapi/inc/class.sessions_php4.inc.php +++ b/phpgwapi/inc/class.sessions_php4.inc.php @@ -131,7 +131,7 @@ if (isset($sessions[$sessionid])) { - //echo "
session_php4::destroy($session_id): unlink('".$sessions[$sessionid]['php_session_file'].")
\n"; + //echo "session_php4::destroy($session_id): unlink('".$sessions[$sessionid]['php_session_file']."')
\n"; @unlink($sessions[$sessionid]['php_session_file']); } } @@ -240,6 +240,7 @@ } $session = unserialize(substr($session,1+strlen(EGW_SESSION_VAR))); unset($session['app_sessions']); // not needed, saves memory + $session['php_session_file'] = $path . '/' . $file; $session_cache[$file] = $session; if($session['session_flags'] == 'A' || !$session['session_id'] || @@ -257,8 +258,10 @@ $session_cache[$file] = false; continue; } - $session['php_session_file'] = $path . '/' . $file; } + // ignore (empty) login sessions created by IE and konqueror, when clicking on [login] (double submission of the form) + if ($session['session_action'] == $GLOBALS['egw_info']['server']['webserver_url'].'/login.php') continue; + //echo "file='$file'="; print_r($session); echo ""; $values[$session['session_id']] = $session; }