Random Session Failure
Posted: Mon Jun 16, 2003 12:10 pm
Okay... I have been trying to get a handle on this bug for awhile... I tried bugs.php.net but just got sniper and his 'fixed in CVS' BS. I'm hoping someone has heard of this bug before and can shoot me a quick fix.
99% of the time sessions work fine, 1% of the time the session fails and the user is logged out of my site. Let's start by shooting down the obvious:
- session maxlifetime is set to 2 hours
- cookie maxlifetime is set to die with the browser (0)
- It is not my code... it could not get any simpler than what I am running... just a simple session validation at the top of every page.
- I have read the 'sessions with a minor in user login'... all stuff I already knew but I knew if I didn't read it and someone pointed something out in there that fixed my problem I'd feel stupid (and I hate it when that happens)
So we're back to square one. Sessions randomly go kerplunk. Setup is as follows:
Win2K SP3 (forced to run Windows, would rather not)
Apache 1.3.26
PHP 4.3.2 (just released 29 May 2003)
Any suggestions would be GREATLY appreciated as the 'suits' are cracking down on this error and pointing fingers... mostly at me. Thank you!
99% of the time sessions work fine, 1% of the time the session fails and the user is logged out of my site. Let's start by shooting down the obvious:
- session maxlifetime is set to 2 hours
- cookie maxlifetime is set to die with the browser (0)
- It is not my code... it could not get any simpler than what I am running... just a simple session validation at the top of every page.
- I have read the 'sessions with a minor in user login'... all stuff I already knew but I knew if I didn't read it and someone pointed something out in there that fixed my problem I'd feel stupid (and I hate it when that happens)
So we're back to square one. Sessions randomly go kerplunk. Setup is as follows:
Win2K SP3 (forced to run Windows, would rather not)
Apache 1.3.26
PHP 4.3.2 (just released 29 May 2003)
Any suggestions would be GREATLY appreciated as the 'suits' are cracking down on this error and pointing fingers... mostly at me. Thank you!