doorbreaker
Programmer
Hi,
I have a (relatively) simple login script. The page looks for a session variable, if it is 0 then you are forwarded to a login page.
At the login page if your email and username match up then session("loggedin"
= 1.
Why does the session keep resetting the session to 0? This happens when I try and go to another page.
On some machines it is OK on others it isn't...On the machine that I am writing this email on it is fine, however on other machines it drops the session.
Any ideas?
Many thanks in advance
Yours frustratingly
Chris Moore
I have a (relatively) simple login script. The page looks for a session variable, if it is 0 then you are forwarded to a login page.
At the login page if your email and username match up then session("loggedin"
Why does the session keep resetting the session to 0? This happens when I try and go to another page.
On some machines it is OK on others it isn't...On the machine that I am writing this email on it is fine, however on other machines it drops the session.
Any ideas?
Many thanks in advance
Yours frustratingly
Chris Moore