Session::set_file()

Method: Set a file in user’s session.

Session::post_in_session()

Method: Check if post is in user’s session.

Session::set_question()

Method: Set a question id in session’s questions offset.

Session::set_answer()

Method: Set an answer id in session’s answers offset.

Session::delete()

Method: Delete all session data or just a key=>value pair.

Session::get()

Method: Get an offset by from AnsPress session.

Session::set()

Method: Set offset in AnsPress session.

Session::delete_cookie()

Method: Delete session cookie.

Session::set_cookie()

Method: Set the session cookie.

Session::generate_id()

Method: Generate a cryptographically strong unique ID for the session token.