Ryan,
You are absolutely correct. You can call formurl2attributes from
application.cfm if you wish. The original reason for placing it in
app_globals was becuase when called as a custom tag application.cfm does not
execute. There has been some discussion on this list lately though stating
that it may be better to use application.cfm and NOT have those variables
run again each time.
It was still split at the time of printing so we decided to keep it as it
was. If application.cfm works for you, then by all means. Do us a favor
and publish your findings here, I'd be interested in what you find.
Thanks,
Craig
-----Original Message-----
From: Ryan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 09, 2000 11:26 AM
To: Fusebox
Subject: why not put FORMURL2Attributes.cfm in Application.cfm?
The fusebox book mentions putting the call to CF_FORMURL2Attibutes in
app_globals.cfm. Is there any reason this call couldn't be in
Application.cfm? If its in app_globals then couldn't you end
up calling the tag more than once, if you call other fuseboxes
(index.cfm's, I think) from within your current fuse? This is
unnecessary overhead, right?
What about if I had a tag that checked if a user was logged in.
Would it be better to call this tag from Application.cfm, ensuring
that the check is only done once per http request, or would it be
better in app_globals? The only thing I can think of is if your
unsecure fusebox (index.cfm) calls a secure fusebox, then that
call would bypass the check-logged-in tag in the secure fusebox's
Application.cfm.
Thanks,
-Ryan
----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.