I want to get the id of the session in Laravel.
In Laravel, it was a bit hacky, but possible with this code:
$session_id = Session::$instance->session['id'];
But I can't work it out in Laravel 4... referencing the Session::$instance object throws errors:
Access to undeclared static property: Illuminate\Support\Facades\Session::$instance
have tried:
$session_id = Session::get('id');
but to no avail.. any ideas?