I enter a value in a session, it saves (5%) then I insert another value again (99%), it will always return me the (5%)
First value = 5%;
Second value = 99% (replace the value);
Third value = 5% (it always goes back to 5%)
FIRST TIME
Session::put('progress', '5%');
// Session::put('progress', '99%');
dd(Session::get('progress'));
RESULT
5%
SECOND TIME
// Session::put('progress', '5%');
Session::put('progress', '99%');
dd(Session::get('progress'));
RESULT
99%
THIRD TIME (THE PROBLEM !!)
// Session::put('progress', '5%');
// Session::put('progress', '99%');
dd(Session::get('progress'));
RESULT
5%
Comments
Post a Comment