You are here: Re: headers sent issue « PHP Programming Language « IT news, forums, messages
Re: headers sent issue

Posted by Mladen Gogala on 12/05/83 11:55

On Mon, 14 Aug 2006 16:29:56 +0200, Rik wrote:

> Well, on a server you generating and trashing content that didn't need to
> be build in the first place. Not necessarily an issue, but a huge waste of
> resources, cpu & memory.

What is a waste of resources? Which part?

>
> What's the problem with the following flow?
>
> 1. start session
> 2. if form is submitted and answer is yes, destroy session and redirect
> 3. else show form
>
> It will produce a lot less overhead.

The largest single wait is for an Oracle connection to be established. I
want to postpone that for as long as I can and create a connection only
if necessary. This script is invoked from a link, and I don't want to kill
session or establish connection if someone has accidentally clicked on the
link. The full complement of the scripts is available on my page. I'd be
grateful if you decide to take a look.



--
http://www.mgogala.com

 

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

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