Skip to main content
May 16, 2006
Answered

Please help!! onSessionEnd isn't working

I've gone over this code and tried loadsa different things but onSessionEnd just won't work!

Session variables are enabled and i have set a sessionTimeout in the application.cfc but still nothing!

Also onApplicationStart, onApplicationEnd onRequestStart, onRequestEnd and sessionStart are all working fine.

Please Help!!!

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer
    May 22, 2006
    Hey figured it out!! you need to use cfargument and ARGUMENTS.appScope.Variable name!- the same as you do on the onApplicationEnd!!

    Like so:

    4 replies

    Correct answer
    May 22, 2006
    Hey figured it out!! you need to use cfargument and ARGUMENTS.appScope.Variable name!- the same as you do on the onApplicationEnd!!

    Like so:
    Translate
    Participating Frequently
    May 17, 2006
    Did you restart your server? application.cfc gets cached, so any changes you make don't show up unless you restart the server.
    Translate
    May 16, 2006
    OK although i feel amazingly stupid for the typo!! I've corrected it but still the problem persists!!
    Translate
    Inspiring
    May 16, 2006
    Your function is called onSess eionEnd - there's only one e in Session.
    Translate