mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
+1
-1
@@ -77,7 +77,7 @@ session.save_path = "tcp://host1:6379?weight=1, tcp://host2:6379?weight=2&timeou
|
||||
|
||||
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).
|
||||
The session handler requires a version of Redis supporting `EX` and `NX` options of `SET` command (at least 2.6.12).
|
||||
phpredis can also connect to a unix domain socket: `session.save_path = "unix:///var/run/redis/redis.sock?persistent=1&weight=1&database=0`.
|
||||
phpredis can also connect to a unix domain socket: `session.save_path = "unix:///var/run/redis/redis.sock?persistent=1&weight=1&database=0"`.
|
||||
|
||||
### Session locking
|
||||
|
||||
|
||||
Reference in New Issue
Block a user