Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 xajax 检测过期会话,以便在发生这种情况时将用户重定向到登录页面或弹出消息让他们知道?
在此处查找会话超时
如果会话超时发送此:
$response = new xajaxResponse(); $response->script('location.href="/login";'); // or what ever you want return $response;