LLMS_Session::use_php_sessions()
Determine should we use php session or wp.
Contents
Return Return
(bool)
Source Source
File: includes/class.llms.session.php
$this->expiring = $cookie[2]; $this->data = $this->read( $this->id ); // If the user has logged in, update the session data. $update_id = $this->maybe_update_id(); // If the session is nearing expiration, update the session. $extend_expiration = $this->maybe_extend_expiration(); // If either of these two items are true, the cookie needs to be updated. $set_cookie = $update_id || $extend_expiration;
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| ?? | Introduced. |