ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Lib-Dev
php-Lib-Dev
[phplib-dev] cvs commit
by uw other posts by this author
May 31 2001 10:28PM messages near this date
[phplib-dev] cvs commit | [phplib-dev] cvs commit
From: uw
Date: Thu May 31 16:00:35 2001
Modified files:
      php-lib/php/session/session4_custom.inc

Log message:
- one should not use $this-> id before it's set...


Index: php-lib/php/session/session4_custom.inc
diff -u php-lib/php/session/session4_custom.inc:1.14 php-lib/php/session/session4_custom.inc
:1.15
--- php-lib/php/session/session4_custom.inc:1.14	Wed May 30 15:15:12 2001
+++ php-lib/php/session/session4_custom.inc	Thu May 31 16:00:34 2001
@@ -8,7 +8,7 @@
 *             2000 Teodor Cimpoesu <teo@[...].net> 
 * @author     Maxim Derkachev <kot@[...].ru> , Teodor Cimpoesu <teo@[...].net>,
 *             Ulf Wendel <uw@[...].de> 
-* @version    $Id: session4_custom.inc,v 1.14 2001/05/30 13:15:12 uw Exp $
+* @version    $Id: session4_custom.inc,v 1.15 2001/05/31 14:00:34 uw Exp $
 * @package    PHPLib
 * @access     public
 */ 
@@ -72,6 +72,8 @@
   
     $this-> set_container();
 
+    // WARNING: parent:: gave me a crash
+
     return parent::start();
   } // end func
   
@@ -136,7 +138,7 @@
   
       if ($this-> module == 'user') {
         # $this-> get_lock();
-        return $this-> that->ac_get_value($this->id, $this->name);
+        return $this-> that->ac_get_value(session_id(), $this->name);
       }
       
       return true;
@@ -222,4 +224,4 @@
 
   
 } // end class Session4_Custom
-?> 
\ No newline at end of file
+?> 



---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-dev-unsubscribe@[...].de
For additional commands, e-mail: phplib-dev-help@lists.netuse.de

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved