//remove single session
Session::forget('Sessionkey');
//remove multiple sessions
Session::forget(['sessionKey1', 'sessionkey2']);
//remove all sessions
Session::flush();
session()->forget('your_key');
# ref: https://laravel.io/forum/02-06-2014-session-destroy
Session::forget('yourKeyGoesHere') // Removes a specific variable
Session::forget('sessionName')
# ref: https://laravel.io/forum/02-06-2014-session-destroy
Session::forget('yourKeyGoesHere') // Removes a specific variable
@if(Session::has('success'))
<div class="alert alert-success">
{{ Session::get('success') }}
@php
Session::forget('success');
@endphp
</div>
@endif