Re: headers sent issue



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

.



Relevant Pages

  • Re: Hardening the TCP/IP Stack Qt. - KeepAliveTime
    ... For instance the TCP resources would be held ... for 2 hours while the http connection resources would ... Session State was something else too. ...
    (microsoft.public.win2000.security)
  • Re: headers sent issue
    ... huge waste of resources, cpu & memory. ... You are using memory for buffering that hypothetically could be needed ... will keep the use of memory & CPU to a minimum. ... start session ...
    (comp.lang.php)
  • Re: headers sent issue
    ... huge waste of resources, cpu & memory. ... You are using memory for buffering that hypothetically could be needed ... will keep the use of memory & CPU to a minimum. ... start session ...
    (comp.lang.php)
  • Re: Overlapped WSASend and IOCP
    ... I actually try to ask about connection closure while some pending IO exists ... on the socket. ... To clean-up per-IO resources we should prematurely initiate ...
    (microsoft.public.win32.programmer.networks)
  • Re: Another nail in the coffin?
    ... >> children much more persistent waste. ... cooked over a small fire. ... Better we conserve and use resources well, and perhaps more importantly, ... to fill, marshes to poison, and we are paying the price for that profligacy. ...
    (uk.rec.scouting)