[RESOLVED] Session. I'm confused yet again
to start a session we use
on page1 and then we set up variables.
I don't seem to get the session to work on page2.
whichever tutorial I checked on the web, never deals with this
You must have session_start(); on page2 aswell.
You must have session_start(); on EVERY page you use $_SESSION variables
I've found out my problem It's been connected to the error I make when writing code.
As I used alot of switch statements, I was not puting session_start() in every "case", but just in the "default".
Took me some time though.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)