I think setting your application timeout to 0 is the best. You don't have to do it programmatically through the <cfapplication> you have in your application.cfm. You could have a "endApplication.cfm" that simply has a <cfapplication> tag in it with the timeout set to 0 and that will timeout the app. Then redirect to a normal page and that will trigger the <cfapplication> in your application.cfm that will set the timeout back to normal.
John -----Original Message----- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 3:03 PM To: CF-Talk Subject: RE: Programmically ending a CF application? What are you trying to accomplish in the long run? Maybe there is a different route to take? ........................ Ben Nadel www.bennadel.com -----Original Message----- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 25, 2006 2:35 PM To: CF-Talk Subject: Programmically ending a CF application? How can one 'end' a CF application so that the OnApplicationStart method of an application.cfc will run again? Something better then the two options I've come up with? One, restarting the service. And two setting the application timeout to 0. -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA --------- | 1 | | --------- Binary Soduko | | | --------- "C code. C code run. Run code run. Please!" - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:247666 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4