jeudi 27 avril 2017

Undefined variable: $_SESSION Laravel

I have problem when get PHP superglobal variable $_SESSION from inside laravel controller.

I can get Moodle session from laravel . I can get moodle session in laravel with $_SESSION['USER'] using this example http://ift.tt/2oRK9EM), but if I run php artisan route:list itu return error, like this:

enter image description here

So i cannot use laravel redirect function. Anyone can help me with this? Is there any other way to call superglobal $_SESSION in laravel controller? Thank you



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire