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:
<?php
// Start the session
session_start();
?>
Any idea what could be wrong?