/** * Returns $_SESSION[$key] if it exists, false if not. */ Session::get($key); /** * does unset($_SESSION[$key]) if the key exists */ Session::delete($key); /** * Sets the name of the session or returns the name of the current session if no params are passed. */ Session::name($name = null); /** * Clears the session by calling session_unset() */ Session::clear(); /** * Discards the session array and finishes the session */ Session::abort(); /** * Resets the session with the values that are in the session store, the current session data is discarded */ Session::reset(); /** * Closes the session and (if chosen) writes session data to the session save path. */ Session::close($save = true); /** * Returns the serialized session data, example: username|s:11:"helgesverre";password|s:11:"password123"; */