Table of Contents

Use Core Classes

Access the Session

Phile\Core\Session allows easy access to the Session environment. For example

// set a session variable
Session::set('isLoggedIn', true);

// read a session variable
$lastVisitedPage = Session::get('lastVisitedPage');

Edit the source page on github…