Session problems, possible bug locking session files?
| From: | Nold, Mark | Date: | Tue, 11 Jul 2000 09:05:54 +0000 |
| Subject: | Session problems, possible bug locking session files? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-5888@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Hi,
Using RH 6.1, Apache 1.3.12 and PHP 4.0.1pl2 (CGI) with sessions works fine
unless i have two browsers open with the same session id, then the second
window waits for the first to finish before it proceeds.
To clarify we have some big pages (doing large database reports) which can
take up to a minute to run. If i go into IE (5 in this case) login and spawn
a new window (with an open in new window, or CTRL+N) then run a large query
in Window 1, anything i do in Window 2 waits for Window 1 to finish.
The reason why i assume is because i have a prepend.php with
session_start();
session_register("x");
session_register("y");
session_register("z");
so that sessions work on everypage.
Could it be that the /tmp/sess_XXX files are locked for the duration of the
report? Then the second file tries to open it and it cant?
During testing this users can have two separate Windows as long as they are
both run directly from the executable. If this happens they have two
separate session id's and no problems except they must login twice (the
point behind the sessions)
Thanks for any help,
mn
Mark Nold
markn@alverstone.com.au
Systems Consultant
Change is inevitable, except from vending machines.