Im trying Laravel 5 and cant get Session working. Im inside a Controller
and this is what ive done on an fresh setup and fresh controller:
\Request::session()->put('test', 'x');
var_dump(\Request::session()->get('test'));
This works as long as session is being written, and once you comment the first line there session value is gone on the next request.
Similarly, ive tried this Session::
instead of Request::session()
and still same result.