|
Posted by Andy Jeffries on 04/26/06 23:09
On Wed, 26 Apr 2006 14:14:26 -0500, Good Man wrote:
>> Let me guess, you use session_start() near the top of every page (maybe
>> through a include auto_prepended).
>
> Why yes, I certainly do!
>
>> This has bitten me before, if you do that, other requests to open that
>> session file will block until the other request closes the session file
>> (i.e. at the end of your download script).
>>
>> You could force the session finished/closed before doing any
>> long/non-interactive tasks. This releases the lock on the session file
>> for that session ID.
>
> As they say on those wacky tv-shows, "you the man".
>
> Much thanks!!!!!
No worries...
Glad that my previous misfortune has now helped someone else (I spent AGES
trying to track down why that was happening).
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Navigation:
[Reply to this message]
|