Skip to content

PHP code snippet – How to clear session in laravel?

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

Session::forget('yourKeyGoesHere') // Removes a specific variable
See also  Python code snippet - How to format a matrix to align all rows ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.