You are here: Re: Executing PHP Tasks While Letting A User Continue To Browse? « All PHP « IT news, forums, messages
Re: Executing PHP Tasks While Letting A User Continue To Browse?

Posted by robert on 04/27/06 00:04

"Andy Jeffries" <news@andyjeffries.co.uk> wrote in message
news:pan.2006.04.26.20.09.07.825698@andyjeffries.co.uk...
| 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).

i'll have to note this one...gj.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация