Changeset 2522
- Timestamp:
- 04/14/10 14:38:18 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/header.session.inc.php
r2382 r2522 15 15 session_start( ); 16 16 $sess = $_SESSION[ 'phpgw_session' ]; 17 $connection_id = "{$sess['session_id']}{$sess['session_ip']}".substr($_SERVER[ 'HTTP_USER_AGENT' ],0,199); 17 $user_ip = (isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']); 18 $connection_id = "{$sess['session_id']}{$user_ip}".substr($_SERVER[ 'HTTP_USER_AGENT' ],0,199); 18 19 19 20 if ( empty($_SESSION['phpgw_session']['session_id']) ||
Note: See TracChangeset
for help on using the changeset viewer.