CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Version 2.0 "hidden" fields passed to template processor??

Print topic Send  topic

Author Message
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.


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.