Urlaubsplan
Lade ...
Suche ...
Keine Treffer
Config::Session Klassenreferenz
Klassendiagramm für Config::Session:
Zusammengehörigkeiten von Config::Session:

Öffentliche Attribute

string $driver = FileHandler::class
 
string $cookieName = 'ci_session'
 
int $expiration = 7200
 
string $savePath = WRITEPATH . 'session'
 
bool $matchIP = false
 
int $timeToUpdate = 300
 
bool $regenerateDestroy = false
 
string $DBGroup = null
 
int $lockRetryInterval = 100_000
 
int $lockMaxRetries = 300
 

Dokumentation der Datenelemente

◆ $cookieName

string Config::Session::$cookieName = 'ci_session'

Session Cookie Name

The session cookie name, must contain only [0-9a-z_-] characters

◆ $DBGroup

string Config::Session::$DBGroup = null

Session Database Group

DB Group for the database session.

◆ $driver

string Config::Session::$driver = FileHandler::class

◆ $expiration

int Config::Session::$expiration = 7200

Session Expiration

The number of SECONDS you want the session to last. Setting to 0 (zero) means expire when the browser is closed.

◆ $lockMaxRetries

int Config::Session::$lockMaxRetries = 300

Lock Max Retries

This is used for RedisHandler.

Maximum number of lock acquisition attempts. The default is 300 times. That is lock timeout is about 30 (0.1 * 300) seconds.

◆ $lockRetryInterval

int Config::Session::$lockRetryInterval = 100_000

Lock Retry Interval (microseconds)

This is used for RedisHandler.

Time (microseconds) to wait if lock cannot be acquired. The default is 100,000 microseconds (= 0.1 seconds).

◆ $matchIP

bool Config::Session::$matchIP = false

Session Match IP

Whether to match the user's IP address when reading the session data.

WARNING: If you're using the database driver, don't forget to update your session table's PRIMARY KEY when changing this setting.

◆ $regenerateDestroy

bool Config::Session::$regenerateDestroy = false

Session Regenerate Destroy

Whether to destroy session data associated with the old session ID when auto-regenerating the session ID. When set to FALSE, the data will be later deleted by the garbage collector.

◆ $savePath

string Config::Session::$savePath = WRITEPATH . 'session'

Session Save Path

The location to save sessions to and is driver dependent.

For the 'files' driver, it's a path to a writable directory. WARNING: Only absolute paths are supported!

For the 'database' driver, it's a table name. Please read up the manual for the format with other session drivers.

IMPORTANT: You are REQUIRED to set a valid save path!

◆ $timeToUpdate

int Config::Session::$timeToUpdate = 300

Session Time to Update

How many seconds between CI regenerating the session ID.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: