So I have something like this at the top of application.cfc: <cfset this.smtpserversettings = { server="mail.yourmama.com", username="b...@yourmama.com", password="issofat" }>
But I want to be able to change these settings when I (somehow) detect that the server is down. From what I have read the only way to do this would in onRequestStart or onRequestEnd. So I can set up a request scoped flag that triggers the update, fine, but is that really the only way? Is there no way to call a method of application.cfc within the scope of the application? Brook ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348959 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm