Hi,
I am trying to replace my application.cfm with application.cfc to take advantage of the onSessionStart and onSessionEnd methods, but so far I am not having any luck.
My problem is it doesn't seem that the onSessionStart or onSessionEnd get triggered. I have made my session expires by doing <cfapplication sessiontimeout="#createtimespan(0,0,0,0)#">.
Another problem is that when I created a log file using <cflog>, the application name shows up as the one defined in application.cfm, and not the new name I created in application.cfc. I tried expiring the application by using <cfapplication> and setting the applicationtimeout attribute to 0, but that doesn't change anything.
Can anyone who uses application.cfc give me some tips on what I could try? I used the appication.cfc template from
Many thanks.
Min
I am trying to replace my application.cfm with application.cfc to take advantage of the onSessionStart and onSessionEnd methods, but so far I am not having any luck.
My problem is it doesn't seem that the onSessionStart or onSessionEnd get triggered. I have made my session expires by doing <cfapplication sessiontimeout="#createtimespan(0,0,0,0)#">.
Another problem is that when I created a log file using <cflog>, the application name shows up as the one defined in application.cfm, and not the new name I created in application.cfc. I tried expiring the application by using <cfapplication> and setting the applicationtimeout attribute to 0, but that doesn't change anything.
Can anyone who uses application.cfc give me some tips on what I could try? I used the appication.cfc template from
Many thanks.
Min