Class TipySession
Access session data the same way as any other tipy input/output objects
class MyController extends TipyController { public function index() { $userId = $this->session->get('userId'); $this->session->set('my_variable', 'Hello World!'); // ... } }
public
|
#
__construct( )
Construct TipySession instance from $_SESSION. If session is not yet started it will be started immediately. If session is already started if will be resumed. |
public
|
|
public
|
|
public
|
|
public
|
|
public
mixed
|
|
public
|
|
public
array
|