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.
セッションタイムアウトの設定を行いました。
'tools.sessions.timeout': 30 'tools.sessions.on': True
すべて正常に動作しますが、現在のページを更新した後にのみログインページにリダイレクトされます。
セッションの有効期限イベントをリッスンし、これが発生したときに自動的にリダイレクトする方法はありますか?
セッションがタイムアウトする直前に、javascript と setTimeout を使用してリダイレクトできます。
<body onload="setTimeout('window.location = \'www.yourdomain.com\';', 1700000);">
お役に立てれば。
アンドリュー