I tried to delete a value from my session using :
Session::forget('value')
but it didn't delete!
However, when i tried using save
method like so :
Session::forget('value')
Session::save()
it worked! (I.e. the value was deleted from the session.)
Please - what am I doing wrong? I don't see the save
method in the Laravel documentation when using Session::flush()
and Session::forget()
.