🔍 SESSION DIAGNOSTIC TOOL

1️⃣ Session Status

✅ Session is ACTIVE

Session ID: tusib8cfdj6gkbgrutas2qghu9

2️⃣ Login Status

❌ User is NOT logged in

⚠️ $_SESSION['user_logged_in'] is not set to true

3️⃣ All Session Variables

Array
(
)

4️⃣ Session Configuration

Session Save Path: /opt/alt/php83/var/lib/php/session

Session Cookie Params:

Array
(
    [lifetime] => 0
    [path] => /
    [domain] => 
    [secure] => 
    [httponly] => 
    [samesite] => 
)

Session Name: PHPSESSID

5️⃣ Cookie Information

❌ Session cookie does NOT exist

⚠️ Browser is not storing the session cookie!

6️⃣ PHP Session Settings

session.use_cookiesYes
session.use_only_cookiesYes
session.cookie_httponlyNo
session.cookie_secureNo
session.cookie_lifetime0 seconds
session.gc_maxlifetime1440 seconds

7️⃣ Test Actions

8️⃣ Quick Links

→ Go to Login Page
→ Go to Simulations Page
→ Go to Logout Page

9️⃣ Instructions

  1. Try to login at /login
  2. After login, come back to this page
  3. Check if "Login Status" shows you as logged in
  4. If session variables are empty, there's a problem with session persistence
  5. Click "Set Test Session Variable" and refresh - if it disappears, sessions aren't working