Skip to content

Commit

Permalink
统一SESSION配置名
Browse files Browse the repository at this point in the history
  • Loading branch information
onanying committed Sep 25, 2018
1 parent 31d66a2 commit 851ac8e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/httpd/config/http_compatible.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
// 生存时间
'maxLifetime' => 7200,
// session键名
'name' => 'SessionID',
'name' => 'session_id',
// 过期时间
'cookieExpires' => 0,
// 有效的服务器路径
Expand Down
2 changes: 1 addition & 1 deletion apps/httpd/config/http_coroutine.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
// 生存时间
'maxLifetime' => 7200,
// session键名
'name' => 'SessionID',
'name' => 'session_id',
// 过期时间
'cookieExpires' => 0,
// 有效的服务器路径
Expand Down
2 changes: 1 addition & 1 deletion apps/httpd/config/http_permanent.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
// 生存时间
'maxLifetime' => 7200,
// session键名
'name' => 'SessionID',
'name' => 'session_id',
// 过期时间
'cookieExpires' => 0,
// 有效的服务器路径
Expand Down
6 changes: 3 additions & 3 deletions apps/websocketd/config/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@
'password' => env('REDIS.PASSWORD'),
],
// 保存的Key前缀
'saveKeyPrefix' => 'MIXSSID:',
'saveKeyPrefix' => 'SESSION:',
// session名
'name' => 'mixssid',
'name' => 'session_id',
],

// Token
Expand All @@ -128,7 +128,7 @@
'password' => env('REDIS.PASSWORD'),
],
// 保存的Key前缀
'saveKeyPrefix' => 'MIXTKID:',
'saveKeyPrefix' => 'TOKEN:',
// token键名
'name' => 'access_token',
],
Expand Down

0 comments on commit 851ac8e

Please sign in to comment.