Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Some browsers lose session.....?

Status
Not open for further replies.

doorbreaker

Programmer
Nov 19, 2002
91
GB
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
 
Check the cookies permissions on the differents browsers as session variables are stored as cookies. So if the browser doesn't accept cookies, it won't work. Water is not bad as long as it stays out human body ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top