<?php
session_start();
require_once '../includes/product-card.php';

// Clear all session data
$_SESSION = array();

// Destroy the session
session_destroy();

// Redirect to home page
header('Location: index.php');
exit;
?>