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
* timeout (float): the connection timeout to a redis host, expressed in seconds. If the host is unreachable in that amount of time, the session storage will be unavailable for the client. The default timeout is very high (86400 seconds).
52
52
* persistent (integer, should be 1 or 0): defines if a persistent connection should be used. **(experimental setting)**
53
53
* 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.
54
+
* auth (string, empty by default): used to authenticate with the Redis server prior to sending commands.
54
55
55
56
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).
56
57
The session handler requires a version of Redis with the `SETEX` command (at least 2.0).
0 commit comments