![]() |
| ||
| How to make user defined function global? Hi again, Okay now I have a Coldfusion question, I have written a user defined function in coldfusion: <cfscript> Now I am a complete newbie to coldfusion and don't want to have to include this function in every page when I have to do this validation, but would rather have this as a global function to the whole application. I've inherited this project so not completely 100% on how this application is set up, but if I can get an idea where to place this code to make it global that would be great. I noticed an _app.cfm file that had some default values assigned and tried placing the function in this file, but that did not work. |
| ||
| Re: How to make user defined function global? Ah nevermind I found the Application.cfm file and placing the function in this file made it accessible. Marking as sovled! |
| All times are GMT -4. The time now is 1:20 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC