fix: use default PHP session (PHPSESSID) not custom name — must match what api.php expects

This commit is contained in:
2026-06-01 09:57:02 +00:00
parent 06a5b92543
commit 2af5c03f1a
3 changed files with 0 additions and 3 deletions
-1
View File
@@ -1,7 +1,6 @@
<?php
ini_set('session.cache_limiter', '');
header('Cache-Control: no-store, no-cache, must-revalidate, no-transform');
session_name('jarvis_main');
session_start();
if (empty($_SESSION['jarvis_token'])) { header('Location: /login.php'); exit; }
$t = json_encode($_SESSION['jarvis_token']);
-1
View File
@@ -1,7 +1,6 @@
<?php
ini_set('session.cache_limiter', '');
header('Cache-Control: no-store, no-cache, must-revalidate, no-transform');
session_name('jarvis_main');
session_start();
if (empty($_SESSION['jarvis_token'])) {
header('Location: /login.php');
-1
View File
@@ -1,7 +1,6 @@
<?php
ini_set('session.cache_limiter', '');
header('Cache-Control: no-store, no-cache, must-revalidate, no-transform');
session_name('jarvis_main');
session_start();
if (!empty($_SESSION['jarvis_token'])) { header('Location: /'); exit; }
$error = '';