Skip to the content
Documentation

exp:ezsessiongc

No ratings yet

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

Remove expired sessions as defined by site.ini [Session] SessionTimeout

Usage

./console exp:ezsessiongc [options]
php bin/php/ezsessiongc.php [options]

Help

The output of ./console help exp:ezsessiongc (the script run with --help), without the standard options:

Usage: bin/php/ezsessiongc.php [OPTION]...
Exponential Session Garbage Collector

Allows manual cleaning up expired sessions as defined by site.ini[Session]SessionTimeout

./bin/php/ezsessiongc.php

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/ezsessiongc.php, kernel/private/classes/commands/ezsessiongc.php

See also

Generated example: exp:ezsessiongc

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.