mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-10 00:22:48 +08:00
改进session驱动
This commit is contained in:
@@ -19,7 +19,7 @@ class Memcache extends SessionHandler
|
||||
protected $handler = null;
|
||||
protected $config = [
|
||||
'host' => '127.0.0.1', // memcache主机
|
||||
'port' => 1121, // memcache端口
|
||||
'port' => 11211, // memcache端口
|
||||
'expire' => 3600, // session有效期
|
||||
'timeout' => 0, // 连接超时时间(单位:毫秒)
|
||||
'persistent' => true, // 长连接
|
||||
|
||||
@@ -19,7 +19,7 @@ class Memcached extends SessionHandler
|
||||
protected $handler = null;
|
||||
protected $config = [
|
||||
'host' => '127.0.0.1', // memcache主机
|
||||
'port' => 1121, // memcache端口
|
||||
'port' => 11211, // memcache端口
|
||||
'expire' => 3600, // session有效期
|
||||
'timeout' => 0, // 连接超时时间(单位:毫秒)
|
||||
'session_name' => '', // memcache key前缀
|
||||
|
||||
Reference in New Issue
Block a user