> Fatal error: Using $this when not in object context in C:\AppServ\www
> \cake\libs\session.php on line 365
strange... is this your own private __close method or does
it come from the cake session lib.
please post some more code and explain your custom __gc,
maybe then i can help.
why experimenting with probability ? why random ?
hm..
jyrgen
> function __close() {
> $probability = mt_rand(1, 150);
> if($probability <= 3) {
> $this->__gc();
> }
> return true;
> }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---