Jump to content

sessions


thefollower

Recommended Posts

How do sessions work cos mine isnt working i got this:

 

on a different page i have :

$_SESSION['referer'] = '1';

 

then:

if ($_SESSION['referer'] == '1'){
include ("include.php");
}

 

 

but when i echo session it is blank =/ what did i do wrong.. i got many other sessions on the go so it should work..

Link to comment
https://forums.phpfreaks.com/topic/76544-sessions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.