application.cfc
Handling 404 errors in Coldfusion 8 with onMissingTemplate() not working
I am trying to handle 404 errors in my ColdFusion app with onMissingTemplate() method in Application.cfc.[详细]
2023-02-16 13:07 分类:问答Coldfusion gateway, problem with application.cfc OnRequestStart
My application.cfc uses the OnRequestStart to check users are logged in <cfif not isDefined(\"session.auth.isLoggedIn\")>[详细]
2023-02-06 12:44 分类:问答How can one get a list of all queries that have run on a page in ColdFusion 9
I would like to add some code to my Application.cfc onRequestEnd function that, if a certain application variable flag is on, will log query sql and execution time to a database ta开发者_运维百科ble.T[详细]
2023-01-31 17:11 分类:问答Can anyone help me figure out why I cannot access my cfc with an ajax request, but have no problem via browser?
I am working on a simple form using ColdFusion MX7. I have a pair of text inputs I want to populate based on a what is selected in a cfselect. Any Ajax calls to my CFC return a 404 error. If I access[详细]
2023-01-30 15:06 分类:问答CFC extends sibling folder
I\'ve seen all kinds of solutions for extending cfcs in parent folders with access to parent files or the CF administration, but I have not seen a workable solution to extend a cfc in a \"shared\"/sib[详细]
2023-01-21 19:14 分类:问答Wrong Application.cfc being referenced by test site in subdirectory of main site
I have a CF9 project set up with a multi-tiered directory structure. At the root level I have the live production site with its Application.cfc. It contains a number of variables that are bound to a \[详细]
2023-01-15 22:09 分类:问答Possible to create an unscoped global in application.cfc?
I\'m migrating an old app that uses application.cfm to use an applic开发者_开发技巧ation.cfc. The CFM sets a few globals such as[详细]
2023-01-02 16:58 分类:问答ColdFusion static key/value list?
I have a database table that is a dictionary of defined terms -- key, value. I want to load the dictionary in the application scope from the database, and keep it there for performance (it doesn\'t ch[详细]
2022-12-27 16:06 分类:问答cfml error with application.cfc page
I have some problem with my cfml website. I have used the below开发者_开发百科 code in application.cfc file to connect with the dsn.[详细]
2022-12-27 03:17 分类:问答Application.cfc built-in variables
In ColdFusion version 9, I have the following in Index.cfm: <cfdump var=\"#Application#\"> But the only thing I\'m getting back is a struct with the applicationname - no other variables like[详细]
2022-12-22 11:28 分类:问答