Application Management

This covers anything related to applications, including session and client tracking.

Problems

How can an Application.cfc's extend to other Application.cfc's?
One of the cool things you can do with Application.cfc is to extend it in subdirectories to override...

How can I detect if the browser accepts cookies?
This script must be placed in an empty page, without any content. Since the page will never be disp...

How can I use session variables to determine the date of a user's last visit?
While the client scope has this functionality built in (client.lastVisit), with the session scope yo...

How do I end a session when the user closes their browser?
Use J2EE session variables! Note: useing J2EE session variables, you will notice that your sess...

How do I know when a user's session ends?
You can run code when a user session end's by using the onSessionEnd method of the Application.cfc f...

How do I migrate from Application.cfm to Application.cfc?
One of the best new features of ColdFusion 7 is the Application.cfc file. This allows for much more ...

How do I restart an application in ColdFusion?
There are a few answers to this question. ColdFusion will automatically run the onApplicationStart m...