Hanging/Frozen Sessions with Auth.php
| From: | Zachary Berke | Date: | Sun, 14 Aug 2005 22:40:51 +0000 |
| Subject: | Hanging/Frozen Sessions with Auth.php | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20415@lists.php.net to get a copy of this message | ||
Hi,
I'm having trouble with hanging/freezing sessions.
If I load a page which uses an auth object:
$someAuthObj->start()
but I don't let that page finish loading (say it's a long loading page, and I hit the stop button, or it hangs/fails to load for some other reason), then my session is no longer usable. If I try to load any other page that uses the auth object, I can get no further than the:
$someAuthObj->start() line.
I have traced the hang into the Auth.php file, to the
@session_start
call within the start() function.
If I delete the file in the session.save_path directory which corresponds to this session, then I can create a new session fine. Alternatively, If I open another browser which does not have the PHPSESSID cookie set, I can login fine. The other browser session remains frozen and unusable until the session expires or until I delete the session file in the session.save_path.
I am using the DB container to speak with a MySQL DB. I cannot flush the hosts cache on the sql DB b/c I don't have RELOAD permissions on my shared host. Could this be a DB issue? The fact that deleting the file works and that I can login from another browser suggests that the answer to that is no, but I could be wrong.
I am using PHP 4.3.11 on a Shared Linux host.
The Auth.php file I have is labled v 1.67 2003/10/20
Thanks for any help,
Zach