samedi 17 septembre 2016

Persist a variable for the entire application in laravel

I am working on an application which aims to display records of students, obviously to see and edit a record I have to select a student. I would like to know how to store the id of the student in a global variable or something like that. To make it available in any part of the application to use it from any controller or view and once the user of the application close or display another record this variable is loaded with the new Id

Any idea how I could do this



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire