From 851ac8e4572303ae8f310f90a2107b7e8e18afc7 Mon Sep 17 00:00:00 2001 From: Jian Liu Date: Tue, 25 Sep 2018 12:05:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E4=B8=80SESSION=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/httpd/config/http_compatible.php | 2 +- apps/httpd/config/http_coroutine.php | 2 +- apps/httpd/config/http_permanent.php | 2 +- apps/websocketd/config/main.php | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/httpd/config/http_compatible.php b/apps/httpd/config/http_compatible.php index fb4f2a81..4be94f0f 100644 --- a/apps/httpd/config/http_compatible.php +++ b/apps/httpd/config/http_compatible.php @@ -139,7 +139,7 @@ // 生存时间 'maxLifetime' => 7200, // session键名 - 'name' => 'SessionID', + 'name' => 'session_id', // 过期时间 'cookieExpires' => 0, // 有效的服务器路径 diff --git a/apps/httpd/config/http_coroutine.php b/apps/httpd/config/http_coroutine.php index 6cc07632..e6026fb7 100644 --- a/apps/httpd/config/http_coroutine.php +++ b/apps/httpd/config/http_coroutine.php @@ -157,7 +157,7 @@ // 生存时间 'maxLifetime' => 7200, // session键名 - 'name' => 'SessionID', + 'name' => 'session_id', // 过期时间 'cookieExpires' => 0, // 有效的服务器路径 diff --git a/apps/httpd/config/http_permanent.php b/apps/httpd/config/http_permanent.php index b9db4a83..7fc40026 100644 --- a/apps/httpd/config/http_permanent.php +++ b/apps/httpd/config/http_permanent.php @@ -137,7 +137,7 @@ // 生存时间 'maxLifetime' => 7200, // session键名 - 'name' => 'SessionID', + 'name' => 'session_id', // 过期时间 'cookieExpires' => 0, // 有效的服务器路径 diff --git a/apps/websocketd/config/main.php b/apps/websocketd/config/main.php index 0bdcfba1..412ae932 100644 --- a/apps/websocketd/config/main.php +++ b/apps/websocketd/config/main.php @@ -105,9 +105,9 @@ 'password' => env('REDIS.PASSWORD'), ], // 保存的Key前缀 - 'saveKeyPrefix' => 'MIXSSID:', + 'saveKeyPrefix' => 'SESSION:', // session名 - 'name' => 'mixssid', + 'name' => 'session_id', ], // Token @@ -128,7 +128,7 @@ 'password' => env('REDIS.PASSWORD'), ], // 保存的Key前缀 - 'saveKeyPrefix' => 'MIXTKID:', + 'saveKeyPrefix' => 'TOKEN:', // token键名 'name' => 'access_token', ],