Feedback on: irt.org FAQ Knowledge Base Q3011
Please use "Application.cfm" rather than "application.cfm" in the explanation. On Unix, it is case-sensitive, and the name must begin with a capital A.
Very worth reading
The text should be Application.cfm, not application.cfm... if the A is not caps it won't run as you suggest.
Not technical enough
... you can also call/create other vars inside of application.cfm (i.e. apps_global.cfm and/or apps_local.cfm) or call a
<CFINCLUDE template="includes/apps_local.cfm"> I would refer to www.fusebox.org as it is a "way to develop/methodology" that uses code again and again and varaiables and queries and display pages can be shared by other templates ... Just my 2 cents
Also, ensure to capitalize the first letter of this file as so: Application.cfm.
This way it's portable to a Solaris CF server.
Btw, there's also a file called OnRequest.cfm that, if it exists on the same folder tree, it will run after your cf template is processed.
this is not a complete answear.
what about the "session on end " function that deliverd by asp.
I developed a system that when uuser closed the browser the session need to be killed & inform to db that the user is logedout from the system.
but i didn't find somthing that can solve this in coldfusion.
if u have any idea please contact me.
Ness Software Industries
Phone: 972-3-5386555 Ext: 227
Technically, it's Application.cfm, not application.cfm. Unix colfusion servers will not recognize lowecase app file. Its so easy to write cf that will work on any platform, but you have to start with good habits, like using a capital A in your app file.