100% Free · Open Source GPLv2 · Zero setup requiredGet the Plugin

Opens in a new tab
ITX UserOps

Session policy

Absolute lifetime, idle timeout and a concurrency cap — the four numbers WordPress gives you no way to set.

shot-session-policy

WordPress signs people out after two days, or fourteen if they ticked *remember me*. That is the entire policy. No idle timeout, no maximum, no limit on how many places one account can be signed in at once.

Which means a laptop left on a train is a valid session for up to a fortnight.

The four settings

Maximum session length — a hard ceiling regardless of activity. Eight hours suits a staff-only site with a working day.

Idle timeout — signs out a session with no requests for N minutes. Note that an admin screen left open in a tab keeps polling and therefore never goes idle: this catches an abandoned browser, not an abandoned tab.

Concurrent sessions — caps how many devices one account may be signed in on. When the limit is passed the *oldest* session ends, so a new sign-in is never refused and nobody can be locked out by their own stale sessions.

After a password change — end the user's other sessions, and optionally revoke their application passwords.

Everything ships off except one

The password-change cleanup is on. The three limits are off.

Because every one of those three ends with somebody being signed out, and a plugin update that silently signed out a site's entire staff would be indefensible.

The switch-on problem, and how it is handled

Turn on a 30-minute idle timeout and, naively, every session whose last activity predates the setting is instantly expired — signing out the entire site the moment you save.

So the module records the instant the rule was enabled and will not expire a session on the strength of activity recorded before it. Switching the idle timeout on does not sign anybody out; it starts the clock. Everyone signed in at that moment gets a full window.

That is bookkeeping rather than a setting, and it has no interface, which is why it is worth saying out loud here.

The concurrency cap is really a detector

It is sold as prevention. Its honest value is detection.

Set it to three on an account used by one person and nothing ever happens. Set it on an account used by three people and they start being signed out at random — and the complaint that follows is somebody telling you, without meaning to, that the account is shared.

Which is also why a cap of one on a shared account is not a security control. It is a denial of service against your own colleagues, and what they will do about it is find another shared account.

Take Control of Your WordPress User Administration Today.

No complex configuration wizards. No third-party API keys required. Install the plugin and start managing your users in under 60 seconds.

Requires WordPress 6.6+ & PHP 7.4+ | Works on Single Sites & Multisite

Log in

Vote on ideas, submit your own and join the discussion.