You are here: Re: "header" call doesn't work before lenghty operation « PHP Programming Language « IT news, forums, messages
Re: "header" call doesn't work before lenghty operation

Posted by a on 02/19/06 07:37

>
> If you know how long the process will take send a redirect header with the
> apropriate timeout, then send content. flushing as neccessary.
>
> 1% complete
> 2% complete
> 3% complete etc...

The duration of the background process is not known, it can take seconds,
minutes, or even longer. It all depends on the parameters that the user has
submitted.

>
> True asynchronous feedback requires separating the "background process"
> from
> the web server process and providing a way for them to communicate (eg
> writing status info to a file)

This the way things work now, but I couldn't find a way to make the php
scripts perform the following tasks concurrently:
1. monitor the status of the background process
2. give feedback to the user
3. react to other user commands such as cancel or back in the browser

Thanks,

A

 

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

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