[PHPLIB-DEV] cvs commit From: kir (phplib-dev <email protected>)
Date: 11/01/99

From: kir
Date: Mon Nov 1 12:20:16 1999
Modified files:
      php-lib/php/auth.inc

Log message:

  $auth->in variable is supposed to be persistent, isn't it ?

Index: php-lib/php/auth.inc
diff -u php-lib/php/auth.inc:1.23 php-lib/php/auth.inc:1.24
--- php-lib/php/auth.inc:1.23 Fri Oct 29 13:18:40 1999
+++ php-lib/php/auth.inc Mon Nov 1 12:19:45 1999
@@ -7,13 +7,13 @@
  * Copyright (c) 1999 Internet Images srl
  * Massimiliano Masserelli
  *
- * $Id: auth.inc,v 1.23 1999/10/29 11:18:40 kk Exp $
+ * $Id: auth.inc,v 1.24 1999/11/01 11:19:45 kir Exp $
  *
  */
 
 class Auth {
   var $classname = "Auth";
- var $persistent_slots = array("auth", "mode");
+ var $persistent_slots = array("auth", "mode", "in");
   
   var $lifetime = 15; ## Max allowed idle time before
                                   ## reauthentication is necessary.
@@ -37,7 +37,7 @@
   ## End of user qualifiable settings.
 
   var $auth = array(); ## Data array
- var $in;
+ var $in = false;
   var $db;
 
   ##
@@ -49,6 +49,7 @@
 
     ## This is for performance, I guess but I'm not sure if it could
     ## be safely removed -- negro
+ ## I suggest that $in should be persistent -- kir
     if (! $this->in) {
       $sess->register("auth");
       $this->in = true;

-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.