davwheat / session-keepalive
Automatically refreshes user CSRF tokens to prevent interaction errors after idling.
Fund package maintenance!
davwheat
Installs: 957
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 3
Type:flarum-extension
Requires
- flarum/core: ^1.2.0
This package is auto-updated.
Last update: 2024-11-15 03:37:31 UTC
README
A Flarum extension. Prevents session timeouts during idle by pinging home at set intervals.
Ping intervals are determined by the session lifetime in Illuminate. In Flarum, this defaults to 2 hours. Pings are done at 4 points within that lifetime to increase the chances of a successful keep-alive.
This means that, by default with this extension, the forum will ping home every 30 minutes to keep your session alive.
Installation
Install with composer:
composer require davwheat/session-keepalive:"*"
Updating
composer update davwheat/session-keepalive:"*"
php flarum migrate
php flarum cache:clear