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 remove first letter of a string ?

Leave a Reply

Your email address will not be published.

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