Lines:
1 to 38 of 38
<?php /** * WordPress session managment. * * Standardizes WordPress session data using database-backed options for storage. * for storing user session information. * * @package WordPress * @subpackage Session * @since 3.7.0 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; /* class WP_Session */ /* function WP_Session::get_instance() – Retrieve the current session instance. */ /* function WP_Session::__construct() – Default constructor. */ /* function WP_Session::set_expiration() – Set both the expiration time and the expiration variant. */ /* function WP_Session::set_cookie() – Set the session cookie */ /* function WP_Session::generate_id() – Generate a cryptographically strong unique ID for the session token. */ /* function WP_Session::is_valid_md5() – Checks if is valid md5 string */ /* function WP_Session::read_data() – Read data from a transient for the current session. */ /* function WP_Session::write_data() – Write the data from the current session to the data storage system. */ /* function WP_Session::json_out() – Output the current container contents as a JSON-encoded string. */ /* function WP_Session::json_in() – Decodes a JSON string and, if the object is an array, overwrites the session container with its contents. */ /* function WP_Session::regenerate_id() – Regenerate the current session’s ID. */ /* function WP_Session::session_started() – Check if a session has been initialized. */ /* function WP_Session::cache_expiration() – Return the read-only cache expiration value. */ /* function WP_Session::reset() – Flushes all session variables. */ /* function WP_Session::current() – Current position of the array. */ /* function WP_Session::key() – Key of the current element. */ /* function WP_Session::next() – Move the internal point of the container array to the next item */ /* function WP_Session::rewind() – Rewind the internal point of the container array. */ /* function WP_Session::valid() – Is the current key valid? */ /* function WP_Session::count() – Get the count of elements in the container array. */