We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
leo你好
当服务端sessio过期时,此时用户停留在客户端登录后的页面。 这时当用户点击退出按钮时,报错
session_destroy(): Session object destruction failed
我的代码
$this->initCAS(); phpCAS::logoutWithRedirectService(route('welcome'));
当我试图用捕获错误的方法不终止代码运行,重定向到欢迎页
try{ $this->initCAS(); phpCAS::logoutWithRedirectService(route('welcome')); info('cas成功登出'); return; }catch(\Exception $e){ info('cas error'); info($e->getMessage()); } return redirect()->route('welcome');
此时页面返回
是否有个接口去判断服务端的session已经过期?之后在进行其他操作
The text was updated successfully, but these errors were encountered:
session_destroy(): Session object destruction failed 这个错误是哪个端报的?server 还是 client
Sorry, something went wrong.
在客户端
info($e->getMessage());
在日志里看到 session_destroy(): Session object destruction failed
手动清除浏览的cookie,然后点击登出按钮,这个错误会重现
目测是 client 端 phpCAS 的问题,和 server 端无关
No branches or pull requests
leo你好
当服务端sessio过期时,此时用户停留在客户端登录后的页面。
这时当用户点击退出按钮时,报错
我的代码
当我试图用捕获错误的方法不终止代码运行,重定向到欢迎页
此时页面返回
是否有个接口去判断服务端的session已经过期?之后在进行其他操作
The text was updated successfully, but these errors were encountered: