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', ],