Logout session in PHP

This is the code to logout from the website:
<?php
session_start();
session_destroy();
header("Location: index.php");
?>
🔥18 Views

Anu

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.