[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions_db.inc.php,1.2.2.1,1
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions_db.inc.php,1.2.2.1,1.2.2.2 |
Date: |
Tue, 02 Apr 2002 12:14:32 -0500 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv19754
Modified Files:
Tag: Version-0_9_14-branch
class.sessions_db.inc.php
Log Message:
This isn't creating random numbers like I orginal designed. This change allows
a lesser chance of a duplicate session id number
Index: class.sessions_db.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.sessions_db.inc.php,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -C2 -r1.2.2.1 -r1.2.2.2
*** class.sessions_db.inc.php 16 Jan 2002 02:11:20 -0000 1.2.2.1
--- class.sessions_db.inc.php 2 Apr 2002 17:14:29 -0000 1.2.2.2
***************
*** 340,344 ****
$GLOBALS['phpgw']->accounts->accounts($this->account_id);
! $this->sessionid =
md5($GLOBALS['phpgw']->common->randomstring(10));
$this->kp3 =
md5($GLOBALS['phpgw']->common->randomstring(15));
--- 340,344 ----
$GLOBALS['phpgw']->accounts->accounts($this->account_id);
! $this->sessionid = md5(time() .
$GLOBALS['phpgw']->common->randomstring(10));
$this->kp3 =
md5($GLOBALS['phpgw']->common->randomstring(15));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.sessions_db.inc.php,1.2.2.1,1.2.2.2,
Joseph Engo <address@hidden> <=