\Session::set( 'user', array( 'id' => static::get_id( $username ), 'access' => 1, 'username' => $username // Optional. ) );
Debug::dump( Session::get( 'user' ) ); Debug::dump( Session::get( 'user.access' ) );
APPPATH/views/index.php @ line: 5 Variable #1: array(5) { ["id"]=> int(1) ["access"]=> int(1) ["mjau"]=> int(123) ["uuu"]=> int(12345) ["username"]=> string(8) "daGrevis" }
APPPATH/views/index.php @ line: 6 Variable #1: string(1) "4"
It looks like you're new here. If you want to get involved, click one of these buttons!