Date: 02/16/00
- Next message: kk: "[PHPLIB-DEV] cvs commit"
- Previous message: Alexander Aulbach: "[PHPLIB-DEV] Quote in DB_Sql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Unless I'm missing something, I think this looks like a bug. In the
session.inc file (v 1.45 1999/10/24 12:15:21), the function gc() is listed
twice, several lines apart.
The first one:
##
## Garbage collection
##
## Destroy all session data older than this
##
function gc() {
$this->that->ac_gc($this->gc_time, $this->name);
}
Then several lines later, the second one:
##
## Garbage collection
##
## Destroy all session data older than this
##
function gc() {
srand(time());
if ((rand()%100) < $this->gc_probability) {
$this->that->ac_gc($this->gc_time, $this->name);
}
}
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
-
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: kk: "[PHPLIB-DEV] cvs commit"
- Previous message: Alexander Aulbach: "[PHPLIB-DEV] Quote in DB_Sql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

