Answer the question
In order to leave comments, you need to log in
Sessions are not deleted or reassigned in laravel - what's the matter?
I set the test session in the AppServiceProvider. Session::put('bla', 'бла-бла')
I successfully display it in the template session()->get('bla')
. But then I can neither delete nor reassign it.
I'm trying to delete: Session::forget('bla')
- nifiga, it is still displayed in the template.
I also tried to reassign it - it's pointless.
I created a new one-time session via Session::flash() - it turned out to be not one-time, and now it is always output and is not deleted.
How so?
How to get rid of an open session?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question