cronjobs/session_gc.php

Show: inherited
    Table of Contents

    Cronjob to garbage collect expired sessions as defined by site.ini[Session]SessionTimeout (the expiry time is calculated when session is created / updated) These are normally automatically removed by the session gc in php, but on some linux distroes based on debian this does not work because the custom way session gc is handled.

    Also make sure you run basket_cleanup if you use the shop!

    Package
    eZCronjob  
    See
    \eZsession  

    Functions

    functioneZSessionBasketGarbageCollector(  $db,  $time ) : void

    Cronjob to garbage collect expired sessions as defined by site.ini[Session]SessionTimeout (the expiry time is calculated when session is created / updated) These are normally automatically removed by the session gc in php, but on some linux distroes based on debian this does not work because the custom way session gc is handled.

    Also make sure you run basket_cleanup if you use the shop!

    Parameters
    Name Type Description
    $db
    $time
    Details
    Package
    eZCronjob  
    See
    \eZsession  
    Documentation was generated by DocBlox 0.18.1.