guest
|
| Posted: 08/28/2001, 4:09 PM |
|
It seems strange to me that version 2 (b5; with PHP+templates) seems
to pass along all the hidden fields to the template processor even though
they're not going to be displayed on the template. Am I missing something or
could CC remove those functions calls and save a few cycles?
Cheers.
|
|
|
 |
David A. Lee
|
| Posted: 08/28/2001, 5:45 PM |
|
V1 does this too. ANd its absolutely necessary ...
Once the code stops running ... *something* has to remember these
variables .. and its the HTML code sitting in your browser.
If you dont need the variables at all ... then why bother having them
even as 'hidden' ? The purpose of hidden variables is to save state
until the next form submit ... and these need to reside in the HTML ...
otherwise their values wont be transmitted back to the HTTP server
on the next request. If you dont want this .. then dont even create
the hidden variables in the first place.
-------------------------------------------------
David A. Lee
Dal Enterprises Inc.
dave@calldei.com http://www.calldei.com
>
> It seems strange to me that version 2 (b5; with PHP+templates) seems
> to pass along all the hidden fields to the template processor even though
> they're not going to be displayed on the template. Am I missing something
or
> could CC remove those functions calls and save a few cycles?
>
> Cheers.
|
|
|
 |
|