Changeset 2075
- Timestamp:
- 02/25/10 14:57:34 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/header.session.inc.php
r1469 r2075 1 1 <?php 2 session_id( $_COOKIE[ 'sessionid' ] ); 2 if ( isset( $_COOKIE[ 'sessionid' ] ) ) 3 session_id( $_COOKIE[ 'sessionid' ] ); 4 3 5 session_start( ); 4 6 … … 9 11 if ($_SESSION['connection_db_info']['user_auth'] && implode('',$_SESSION['connection_db_info']['user_auth']) !== $connection_id) 10 12 { 13 error_log( '[ NOT VALIDATED SESSION ] >>>>' . implode('',$_SESSION['connection_db_info']['user_auth']) . '<<<< - >>>>' . $connection_id . '<<<<', 0 ); 11 14 setcookie("PHPSESSID","",0); 12 setcookie ("sessionid","",0); 13 echo lang("An important error has occured with your login, please contact your system administrator");15 setcookie ("sessionid","",0); 16 require_once dirname( __FILE__ ) . '/logout.php'; 14 17 exit; 15 18 }
Note: See TracChangeset
for help on using the changeset viewer.