Date: 11/06/99
- Next message: Kristian Koehntopp: "Re: [PHPLIB-DEV] Is there a FAQ or HOWTO"
- Previous message: Jesse Swensen: "[PHPLIB-DEV] Is there a FAQ or HOWTO"
- Next in thread: kk: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: kk
Date: Sat Nov 6 21:03:50 1999
Added files:
php-lib/php/auth_sql.inc
Modified files:
php-lib/php/auth.inc
php-lib/CHANGES
Log message:
Working on user authentication; several bugfixes to auth.inc.
Index: php-lib/php/auth.inc
diff -u php-lib/php/auth.inc:1.24 php-lib/php/auth.inc:1.25
--- php-lib/php/auth.inc:1.24 Mon Nov 1 12:19:45 1999
+++ php-lib/php/auth.inc Sat Nov 6 21:03:49 1999
@@ -7,7 +7,7 @@
* Copyright (c) 1999 Internet Images srl
* Massimiliano Masserelli
*
- * $Id: auth.inc,v 1.24 1999/11/01 11:19:45 kir Exp $
+ * $Id: auth.inc,v 1.25 1999/11/06 20:03:49 kk Exp $
*
*/
@@ -101,6 +101,7 @@
$this->auth["uid"] = $uid;
$this->auth["exp"] = time() + (60 * $this->lifetime);
$this->auth["refresh"] = time() + (60 * $this->refresh);
+ $sess->freeze();
return true;
}
@@ -114,6 +115,7 @@
# $this->auth["uname"] = "nobody";
$this->auth["exp"] = 0x7fffffff;
$this->auth["refresh"] = 0x7fffffff;
+ $sess->freeze();
return true;
} else {
# Show the login form
@@ -157,6 +159,7 @@
$this->auth["uid"] = $uid;
$this->auth["exp"] = time() + (60 * $this->lifetime);
$this->auth["refresh"] = time() + (60 * $this->refresh);
+ $sess->freeze();
return true;
} else {
if ($this->mode == "reg")
@@ -175,6 +178,7 @@
$this->auth["uid"] = $uid;
$this->auth["exp"] = time() + (60 * $this->lifetime);
$this->auth["refresh"] = time() + (60 * $this->refresh);
+ $sess->freeze();
return true;
} else {
if ($this->mode == "reg")
Index: php-lib/CHANGES
diff -u php-lib/CHANGES:1.141 php-lib/CHANGES:1.142
--- php-lib/CHANGES:1.141 Sat Nov 6 17:19:57 1999
+++ php-lib/CHANGES Sat Nov 6 21:03:49 1999
@@ -1,9 +1,13 @@
-$Id: CHANGES,v 1.141 1999/11/06 16:19:57 kk Exp $
+$Id: CHANGES,v 1.142 1999/11/06 20:03:49 kk Exp $
06-Nov-1999 kk
- Menu_Button now has mouseover capabilities; button.php3
knows about that. Filesnames in Cache are now pure md5 so
that the directory does not grow overly large.
+ - A large Auth example in local.inc is not the best idea. Instead
+ I integrated an auth_sql.inc into the distribution. Incompatible
+ changes will follow: auth_sql.inc works with a new auth_user table,
+ which integrates the old auth_user and auth_user_md5 tables.
05-Nov-1999 kir
- Changed decoding function for "slashes" mode from stripslashes to strval
-
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.
- Next message: Kristian Koehntopp: "Re: [PHPLIB-DEV] Is there a FAQ or HOWTO"
- Previous message: Jesse Swensen: "[PHPLIB-DEV] Is there a FAQ or HOWTO"
- Next in thread: kk: "[PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

