cronjobs/session_gc.php

Show: inherited
    Table of Contents

    File containing the session_gc.php cronjob

    Copyright
    Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.  
    License
    eZ Business Use License Agreement Version 2.0  
    Package
    kernel  
    Version
    4.6.0  

    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.