@@ -390,26 +390,32 @@ all of the options and their effects.
390390You'll find the following Session related preferences in your
391391**app/Config/App.php ** file:
392392
393- ============================== ============================================ ================================================= ============================================================================================
394- Preference Default Options Description
395- ============================== ============================================ ================================================= ============================================================================================
396- **sessionDriver ** CodeIgniter\\ Session\\ Handlers\\ FileHandler CodeIgniter\\ Session\\ Handlers\\ FileHandler The session storage driver to use.
397- CodeIgniter\\ Session\\ Handlers\\ DatabaseHandler
398- CodeIgniter\\ Session\\ Handlers\\ MemcachedHandler
399- CodeIgniter\\ Session\\ Handlers\\ RedisHandler
400- CodeIgniter\\ Session\\ Handlers\\ ArrayHandler
401- **sessionCookieName ** ci_session [A-Za-z\_ -] characters only The name used for the session cookie.
402- **sessionExpiration ** 7200 (2 hours) Time in seconds (integer) The number of seconds you would like the session to last.
403- If you would like a non-expiring session (until browser is closed) set the value to zero: 0
404- **sessionSavePath ** null None Specifies the storage location, depends on the driver being used.
405- **sessionMatchIP ** false true/false (boolean) Whether to validate the user's IP address when reading the session cookie.
406- Note that some ISPs dynamically changes the IP, so if you want a non-expiring session you
407- will likely set this to false.
408- **sessionTimeToUpdate ** 300 Time in seconds (integer) This option controls how often the session class will regenerate itself and create a new
409- session ID. Setting it to 0 will disable session ID regeneration.
410- **sessionRegenerateDestroy ** false true/false (boolean) Whether to destroy session data associated with the old session ID when auto-regenerating
411- the session ID. When set to false, the data will be later deleted by the garbage collector.
412- ============================== ============================================ ================================================= ============================================================================================
393+ ============================== ================== =========================== ============================================================
394+ Preference Default Options Description
395+ ============================== ================== =========================== ============================================================
396+ **sessionDriver ** FileHandler::class FileHandler::class The session storage driver to use.
397+ DatabaseHandler::class All the session drivers are located in the
398+ MemcachedHandler::class ``CodeIgniter\Session\Handlers\ `` namespace.
399+ RedisHandler::class
400+ ArrayHandler::class
401+ **sessionCookieName ** ci_session [A-Za-z\_ -] characters only The name used for the session cookie.
402+ **sessionExpiration ** 7200 (2 hours) Time in seconds (integer) The number of seconds you would like the session to last.
403+ If you would like a non-expiring session (until browser is
404+ closed) set the value to zero: 0
405+ **sessionSavePath ** null None Specifies the storage location, depends on the driver being
406+ used.
407+ **sessionMatchIP ** false true/false (boolean) Whether to validate the user's IP address when reading the
408+ session cookie. Note that some ISPs dynamically changes the IP,
409+ so if you want a non-expiring session you will likely set this
410+ to false.
411+ **sessionTimeToUpdate ** 300 Time in seconds (integer) This option controls how often the session class will
412+ regenerate itself and create a new session ID. Setting it to 0
413+ will disable session ID regeneration.
414+ **sessionRegenerateDestroy ** false true/false (boolean) Whether to destroy session data associated with the old
415+ session ID when auto-regenerating
416+ the session ID. When set to false, the data will be later
417+ deleted by the garbage collector.
418+ ============================== ================== =========================== ============================================================
413419
414420.. note :: As a last resort, the Session library will try to fetch PHP's
415421 session related INI settings, as well as legacy CI settings such as
0 commit comments