Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // First thing
- Session::set('key', 3);
- // Second screen
- Session::clear('key');
- Session::get('key'); // returns null
- // Third screen
- Session::get('key'); // returns 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement