sharpenyourteeth
n00b
- Joined
- Nov 4, 2004
- Messages
- 29
I've made a small website for a teacher at my school. I'm having one small problem though. There are protected pages and you have to register and login to view them. Once the user is verified, they get a session variable called 'logged_in' which is set to '1'. The protected pages check to see if this variable is set and if it is equal to '1' before sending them the page, if it is not set they are sent to the logon page.
I can't recreate what he says is happening to him, but he says that if he views the protected pages, leaves his browser open for a long time (hours), possibly going to other websites, and then tries to go back and view a protectd page again, the page takes a long time to load and eventually just returns a 404 error. Any idea what may be causing this? The session cookie on his browser shouldn't be deleted since he never closes it. I know the session data on the server will eventually be erased, but that should just result in him having to log on again, not make the page never load, right? I have no idea what could be causing this. Thanks for any help.
I can't recreate what he says is happening to him, but he says that if he views the protected pages, leaves his browser open for a long time (hours), possibly going to other websites, and then tries to go back and view a protectd page again, the page takes a long time to load and eventually just returns a 404 error. Any idea what may be causing this? The session cookie on his browser shouldn't be deleted since he never closes it. I know the session data on the server will eventually be erased, but that should just result in him having to log on again, not make the page never load, right? I have no idea what could be causing this. Thanks for any help.