Re: $_SESSION v. Cookies
| From: | Robert Cummings | Date: | Wed, 07 May 2008 20:22:52 +0000 |
| Subject: | Re: $_SESSION v. Cookies | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-274013@lists.php.net to get a copy of this message | ||
On Wed, 2008-05-07 at 16:03 -0400, tedd wrote:
> At 12:34 PM -0400 5/7/08, Robert Cummings wrote:
> >
> >The exception being when it performs cleanup. Cleanup should be
> >relegated to a cron job.
>
> Rob:
>
> What clean-up?
All the inactive session files... inactive and garbage collection time
is denoted by the following php.ini settings:
session.gc_probability = 1 ; percentual probability that the
; 'garbage collection' process is
; started
; on every session initialization
session.gc_maxlifetime = 1440 ; after this number of seconds,
; stored data will be seen as
; 'garbage' and cleaned up by the
; gc process
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP