Got it from php.net, but I am not sure is this how everybody destroy all sessions?
// Unset all Sessions $_SESSION = array(); if (isset($_COOKIE[session_nam
You will have to delete the session records.
if session handled by DB - delete the rows. if session handled by FILES - delete the files.
if session handled by DB - delete the rows.
if session handled by FILES - delete the files.
here you can find full example:
http://mdb-blog.blogspot.co.il/2015/05/php-destroydelete-all-sessions.html