This doesnt work for me and I cannot work out why?
I run onApplicationStart in application.cfc and all my old application 
variables still exist, i have to restart the service all the time but i can't 
do this on my shared server. 








>>What is another way besides creating a temp file to explicitly reset
>>those variables?
>>Is there a way to make the Application expire and restart (sort of
>>speak)?
>
>Here's what I use:
>
><cffunction name="onRequestStart" returntype="void" output="false">
>  <cfif structKeyExists(url,"reinitApp")>
>    <cflock scope="application" type="exclusive" timeout="5" 
> throwontimeout="true">
>      <cfset onApplicationStart()>
>    </cflock>
>  </cfif>
></cffunction>
>
>Then add ?reinitApp=1 in any url to restart the app
>
>Will 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335994
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to