Link to home
Start Free TrialLog in
Avatar of Paul S
Paul SFlag for United States of America

asked on

sessions won't work

i have a linux / unix host and i can't get sessions to work. i am using this variable

$_SESSION['Login']

i am just trying a simple echo

echo $_SESSION['Login'];

i don't get anything why?
ASKER CERTIFIED SOLUTION
Avatar of Marcus Bointon
Marcus Bointon
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paul S

ASKER

thank you for your help. I was making a dumb mistake. i am fairly new to php. I was calling session_start() on the page that i created the session variable on, but i wasn't calling session_start() on the page the was suppose to read the variable. I just added session_start to an include file and included it at the start of every page.