You are here: Re: [PHP] problems with session timeout « PHP « IT news, forums, messages
Re: [PHP] problems with session timeout

Posted by Richard Lynch on 09/27/36 11:07

Pedro Henrique Calais wrote:
> I'm with the following problem:
> my PHP scripts takes a very long time to execute (about 3 hours) because
> it has has system call to a perl script that is very time consuming.

I would recommend either using & in the call to the Perl script, or
inserting whatever you need into a database and having cron (Google: man 5
crontab) run the Perl script or *ANYTHING* that doesn't tie up your HTTP
connection for 3 hours, and that relies on users not closing their
browser, or PHP's ignore_user_abort function which didn't work right in
some older versions in some weird cases or something like that...

Basically, it just seems silly to me to risk the three-hour job not
getting done if at all possible to avoid that.

--
Like Music?
http://l-i-e.com/artists.htm

 

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

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