[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.6, 1.
From: |
Joseph Engo <address@hidden> |
Subject: |
[Phpgroupware-cvs] api/sessions class.sessions_php.php, 1.1.1.1.2.6, 1.1.1.1.2.7 |
Date: |
Fri, 21 Nov 2003 00:59:48 +0000 |
Update of /cvsroot/phpgroupware/api/sessions
In directory subversions:/tmp/cvs-serv29271/api/sessions
Modified Files:
Tag: proposal-branch
class.sessions_php.php
Log Message:
- You can't delete your own session now
- Added function to return your TRUE sessionid
Index: class.sessions_php.php
===================================================================
RCS file: /cvsroot/phpgroupware/api/sessions/class.sessions_php.php,v
retrieving revision 1.1.1.1.2.6
retrieving revision 1.1.1.1.2.7
diff -C2 -d -r1.1.1.1.2.6 -r1.1.1.1.2.7
*** class.sessions_php.php 21 Nov 2003 00:45:45 -0000 1.1.1.1.2.6
--- class.sessions_php.php 21 Nov 2003 00:59:45 -0000 1.1.1.1.2.7
***************
*** 96,99 ****
--- 96,106 ----
}
+ // 98.9% of the time, you should call sid(). If you use this,
you need a damn good reason WHY you REALLY need the true sid.
+ // current_users() does need it. (jengo)
+ function get_true_sid()
+ {
+ return $GLOBALS['PHPSESSID'];
+ }
+
function create()
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] api/sessions class.sessions_php.php, 1.1.1.1.2.6, 1.1.1.1.2.7,
Joseph Engo <address@hidden> <=