You could take the next step with this by turning UDF into a component and putting it in application scope. Define it once then access it everywhere.

Blair

On 6/27/06, Matthew <[EMAIL PROTECTED]> wrote:

The best thing would be to create a file called udf.cfm and write
<cfinclude template="udf.cfm">. Then every page would have access to
any function on udf.cfm

Check your structure. Prove that the udf.cfm file is being included. A
good test would be to have a variable e.g. <cfset udf_test = "abc> and
try to use it on any page below the application.cfm page e.g.
<cfoutput>#udf_test#</cfoutput>

This should work, I've used this style in lots of applications. If you
still have no luck show some more code.

UDF stands for User (U) Defined (D) Function (F).

Cheers
Matthew



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to