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 Good Man on 04/26/06 22:14

Andy Jeffries <news@andyjeffries.co.uk> wrote in
news:pan.2006.04.26.18.55.27.562055@andyjeffries.co.uk:


> 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!!!!!

 

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

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