Jan 4, 2017
0
Level 1
Old Session Isn't Flushed with Session::regenerate
I am using file based Laravel session.
When running below code:
Session::forget('member');
Session::flush();
Session::regenerate();
The old session wasn't flush at all, all the data is still there. But the newly generated session start fresh.
How can I really flush the old session before moving to new session?
Please or to participate in this conversation.