SyntaxFix
Write A Post
Hire A Developer
Questions
I use the old PHP way..It unsets all session variables and doesn't require to specify each one of them in an array. And after unsetting the variables we destroy the session.
session_unset(); session_destroy();