1. save value in session :-
Session::put('key', 'value');
2. get value of session:-
Session::get('key', 'value');
3. remove value of perticuler key :-
Session::forget('key', 'value');
4. Destroy session value :-
Session::flush();
Session::put('key', 'value');
2. get value of session:-
Session::get('key', 'value');
3. remove value of perticuler key :-
Session::forget('key', 'value');
4. Destroy session value :-
Session::flush();
No comments:
Post a Comment