Class

Session

Package: PHPBoost\User\session Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Loic ROUCHON horn@phpboost.com Version: PHPBoost 5.2 - last update: 2014 12 22 Since: PHPBoost 3.0 - 2010 11 04 Located at: phpboost/user/session/Session.class.php

This class manages all sessions for the users. Session::gc(); Session::start();

Methods summary
public static
# __static( )
public static
# gc( )
public static
# start( )
public static
# create( $user_id, $autoconnect = false )
public static
# delete( SessionData $session )

Delete the session in database. The current session stays alive for the rest of the request and a visitor session will be created at the next request.

Constants summary
integer VISITOR_SESSION_ID
# -1
Properties summary