davwheat CSRF Auto Refresh

davwheat CSRF Auto Refresh davwheat/session-keepalive

Automatically refreshes user CSRF tokens to prevent interaction errors after idling.

davwheat Session Keep-alive

License Latest Stable Version Total Downloads

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

Links

Versions

  • Version 1.1.0.

    Likely works with Flarum v1.8.9.

    Unlikely to work with Flarum v2.0.0-beta.1.

  • 1 additional versions.
  • Extension created.