laravel destroy session
snippet in php

laravel destroy session

user2301

# ref: https://laravel.io/forum/02-06-2014-session-destroy

Session::forget('yourKeyGoesHere') // Removes a specific variable

laravel use session values in view

user7608

<!--This is placed in the view section --> {{ session('key_name') }}