|
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]
|