File manager - Edit - /home/linknsbh/m.linkat.online/php/logout.php
Back
<?php // Unset all session values $_SESSION = array(); // get session parameters $params = session_get_cookie_params(); // Delete the actual cookie. setcookie(session_name(), '', time() - 42000, $params["path"], $params["domain"], $params["secure"], $params["httponly"]); // Remove access token from session unset($_SESSION['facebook_access_token']); //Unset token and user data from session unset($_SESSION['token']); unset($_SESSION['user']); unset($_SESSION['chatHistory']); unset($_SESSION['openChatBoxes']); // will delete just the name data session_destroy(); // Destroy session will delete ALL data associated with that user. echo "<script>window.location='login'</script>"; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.31 | Generation time: 0.53 |
proxy
|
phpinfo
|
Settings