diff --git a/modules/billing/cart.php b/modules/billing/cart.php index fc0ca9e6..f9f0e088 100644 --- a/modules/billing/cart.php +++ b/modules/billing/cart.php @@ -3,7 +3,11 @@ * Shopping Cart - Display unpaid invoices and PayPal checkout * Standalone billing module - uses only standard PHP mysqli */ -session_start(); +// Start session using the website session name to match the rest of the site +if (session_status() === PHP_SESSION_NONE) { + session_name("gameservers_website"); + session_start(); +} require_once(__DIR__ . '/includes/config.inc.php'); require_once(__DIR__ . '/includes/login_required.php'); diff --git a/modules/billing/docs.php b/modules/billing/docs.php index eb7582b5..3b24f2c0 100644 --- a/modules/billing/docs.php +++ b/modules/billing/docs.php @@ -4,8 +4,11 @@ * Displays a list of documentation categories and allows viewing individual docs */ -// Start session for navigation state -session_start(); +// Start session using the website session name to match the rest of the site +if (session_status() === PHP_SESSION_NONE) { + session_name("gameservers_website"); + session_start(); +} // Include config require_once(__DIR__ . '/includes/config.inc.php');