[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] api/sessions class.sessions_php.php, 1.1.1.1.2.3, 1.
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/sessions class.sessions_php.php, 1.1.1.1.2.3, 1.1.1.1.2.4 |
Date: |
Sun, 09 Nov 2003 15:47:44 +0000 |
Update of /cvsroot/phpgroupware/api/sessions
In directory subversions:/tmp/cvs-serv30293/api/sessions
Modified Files:
Tag: proposal-branch
class.sessions_php.php
Log Message:
- Started working on the current users screen
Some of the code needs to be moved to the sessions class, I will try to get
to that later on in the day
- Kill session isn't finished
Index: class.sessions_php.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/sessions/class.sessions_php.php,v
retrieving revision 1.1.1.1.2.3
retrieving revision 1.1.1.1.2.4
diff -C2 -d -r1.1.1.1.2.3 -r1.1.1.1.2.4
*** class.sessions_php.php 3 Nov 2003 17:31:23 -0000 1.1.1.1.2.3
--- class.sessions_php.php 9 Nov 2003 15:47:42 -0000 1.1.1.1.2.4
***************
*** 101,104 ****
--- 101,106 ----
$GLOBALS['phpgw_session']['session_lid'] =
$args['login'];
+ $GLOBALS['phpgw_session']['ip_address'] =
($_SERVER['HTTP_X_FORWARDED_FOR'] ? $_SERVER['HTTP_X_FORWARDED_FOR'] :
$_SERVER['REMOTE_ADDR']);
+ $GLOBALS['phpgw_session']['login_time'] = time();
}
***************
*** 123,127 ****
{
session_register('phpgw_session');
! $GLOBALS['phpgw_session'] = $_SESSION['phpgw_session'];
}
--- 125,131 ----
{
session_register('phpgw_session');
! $GLOBALS['phpgw_session'] =
$_SESSION['phpgw_session'];
! // Set this BEFORE preferences are loaded and timezone
specific crap is set
! $GLOBALS['phpgw_session']['session_dla'] = time();
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/sessions class.sessions_php.php, 1.1.1.1.2.3, 1.1.1.1.2.4,
Joseph Engo <address@hidden> <=