apply_filters( 'llms_session_data_expiration_variance', int $duration )

Filter the user session lifespan variance


Description Description

This is subtracted from the session cookie expiration to determine it’s "expiring" timestamp.

When an active session passes it’s expiring timestamp but has not yet passed it’s expiration timestamp the session data will be extended and the data session will not be destroyed.


Top ↑

Parameters Parameters

$duration

(int) Lifespan of session data, in seconds.


Top ↑

Source Source

File: includes/class.llms.session.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.