source: trunk/header.session.inc.php @ 1061

Revision 1061, 461 bytes checked in by amuller, 15 years ago (diff)

Ticket #559 - Retirada definitiva da inclusão do header.inc.php do php E.M.

Line 
1<?php
2        session_id( $_COOKIE[ 'sessionid' ] );
3        session_start( );
4
5        $sess = $_SESSION[ 'phpgw_session' ];
6        $connection_id = "{$sess['session_id']}{$sess['session_ip']}{$_SERVER[ 'HTTP_USER_AGENT' ]}";
7
8        if ($_SESSION['connection_db_info']['user_auth'] && implode('',$_SESSION['connection_db_info']['user_auth']) !== $connection_id)
9        {
10                echo lang("An important error has occured with your login, please contact your system administrator"); 
11                exit;
12        }
13?>
Note: See TracBrowser for help on using the repository browser.