Re: $_SESSION v. Cookies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 4:22 PM -0400 5/7/08, Robert Cummings wrote:
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.

Oh, Okay. That's an automatic practice taken from the php.ini settings. I was thinking that maybe one was supposed to do something after using sessions.

Thanks,

tedd

--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux