Author Topic: PHP session variables  (Read 1246 times)

queensgambit9

  • Pro Ultimate
  • Sr. Member
  • *
  • Posts: 341
    • View Profile
PHP session variables
« on: February 02, 2021, 12:52:05 pm »
Having issue using session variables.
Variable is set on index page and works fine but when trying to access the variable on the php page which creates query to DB it seems to be undefined.

Using on both pages:

Code: [Select]
<?php
// Start the session
session_start();
?>

Any idea what could be wrong?
« Last Edit: February 02, 2021, 12:58:59 pm by queensgambit9 »

queensgambit9

  • Pro Ultimate
  • Sr. Member
  • *
  • Posts: 341
    • View Profile
Re: PHP session variables
« Reply #1 on: February 05, 2021, 06:21:47 pm »
Solved.