Changeset 2178 for branches/2.0/header.session.inc.php
- Timestamp:
- 03/07/10 09:46:57 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/header.session.inc.php
r2075 r2178 9 9 10 10 11 if ( $_SESSION['connection_db_info']['user_auth'] && implode('',$_SESSION['connection_db_info']['user_auth']) !== $connection_id)11 if (empty($_SESSION['phpgw_session']['session_id']) || ($_SESSION['connection_db_info']['user_auth'] && implode('',$_SESSION['connection_db_info']['user_auth']) !== $connection_id)) 12 12 { 13 error_log( '[ NOT VALIDATED SESSION ] >>>>' . implode('',$_SESSION['connection_db_info']['user_auth']) . '<<<< - >>>>' . $connection_id . '<<<<', 0 ); 13 if($_SESSION['connection_db_info']['user_auth']) 14 error_log( '[ INVALID SESSION ] >>>>' . implode('',$_SESSION['connection_db_info']['user_auth']) . '<<<< - >>>>' . $connection_id . '<<<<', 0 ); 14 15 setcookie("PHPSESSID","",0); 15 16 setcookie ("sessionid","",0); 16 require_once dirname( __FILE__ ) . '/logout.php'; 17 exit; 17 unset($_SESSION); 18 18 } 19 19 ?>
Note: See TracChangeset
for help on using the changeset viewer.