You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* persistent (integer, should be 1 or 0): defines if a persistent connection should be used. **(experimental setting)**
57
57
* prefix (string, defaults to "PHPREDIS_SESSION:"): used as a prefix to the Redis key in which the session is stored. The key is composed of the prefix followed by the session ID.
58
58
* auth (string, empty by default): used to authenticate with the Redis server prior to sending commands.
59
+
* database (integer): selects a different database.
59
60
60
61
Sessions have a lifetime expressed in seconds and stored in the INI variable "session.gc_maxlifetime". You can change it with [`ini_set()`](http://php.net/ini_set).
61
62
The session handler requires a version of Redis with the `SETEX` command (at least 2.0).
0 commit comments