From b96ce6c981170b91ded9ab5c1c48af8adf94d994 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sun, 19 Nov 2023 16:27:19 +0000 Subject: [PATCH] SECURITY: Consistently set samesite attribute on cookies --- php/countries.php | 2 ++ php/logout.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/php/countries.php b/php/countries.php index edce3277..62e3081a 100644 --- a/php/countries.php +++ b/php/countries.php @@ -1,6 +1,8 @@ 'Strict']); session_start(); + include_once 'db_pdo.php'; // List of all countries diff --git a/php/logout.php b/php/logout.php index b356fd51..28c39c8e 100644 --- a/php/logout.php +++ b/php/logout.php @@ -1,4 +1,6 @@ 'Strict']); session_start(); + $_SESSION = [];