You are here: Re: Baffling! Redirects with header() takes minutes to respond. « PHP Programming Language « IT news, forums, messages
Re: Baffling! Redirects with header() takes minutes to respond.

Posted by Monty on 11/03/54 11:32

> So, what is running after the header call?

Hi. The only code that would be executed after the header() call is to
load a record from the DB to display it in the form. That's it. When I
remove the header() call completely (allowing the page to reload), it
happens instantly, so, I don't think the code that follows is causing
the delay. But, if I put the header() call back in without an exit, it
takes hangs for minutes before moving forward.

And the odd thing is that this never happened before, and I didn't make
any changes at all to these scripts that are all of sudden hanging at a
header() call if not followed by exit. But, it's also not ALL header()
calls doing this. On some pages without an exit, it happens just as
fast as when I add the exit, so, the results seem to be very
inconsistent.

I guess no one else has been having this problem. Very strange!

 

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

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