Hi, I'm using sessions for a website I'm working on and it's the first time I've used them. I'm using cookies to transmit the session ID (the default setting).
On my first page, I have something like this:
session_start();
$nationid = $_GET['nationid'];
$_SESSION['nationid'] = $nationid;
on the next page, to which the use arrives by clicking a link on the first one, I have:
session_start();
print $_SESSION['nationid'];
When testing in local, it works fine. Online, the session cookie is never set (while cookies I set manually works).
Any ideas? It's probably something stupid but I can't find it 🙁
TIA,
Kinniken