Re: sessions garbadge
| From: | CPT John W. Holmes | Date: | Thu, 13 Mar 2003 14:09:32 +0000 |
| Subject: | Re: sessions garbadge | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-139494@lists.php.net to get a copy of this message | ||
> > > My gc_maxlifetime = 3600 (1 hour) and my probability = 100
> > , just for
> > > testing . When i create a session on my site and i dont log
> > out , the
> > > session var will still remain on the server , ok , after an
> > hour (not
> > > exactly an hour) , when i surf the site , the collector
> > destroys that
> > var
> > > on
> > > the server (linux server) ! That is how it should work ! But when i
> > create
> > > a
> > > session at say 23:36 , the session var will still be on the
> > server at
> > 8:16
> > > (after the carbadge collector came around) , why does this happen ,
> > does
> > > php
> > > work in a 12 cicle only , or what is wrong ?
> >
> > How do you know the garbage collector was started? There is a (by
> > default) 1% chance
>
> Ahem! Even when poster has reported that "... my probability = 100 ..."?
Yeah, i'm an idiot. Maybe I should read the questions? I'll start doing that
when newbies start searching the archives!! :)
I don't know why the session isn't deleting.
---John Holmes...