Skip to main content
Inspiring
November 15, 2009
Question

Sessions not timing out

  • November 15, 2009
  • 1 reply
  • 295 views

Just tried installing an app on CF7 Standard.  This application works fine on CF7 Enterprise.  With CF7 Standard, there is a difference in the behavior of the session variables.  They don't timeout - the session doesn't end based on the value in the CF administrator (for memory variables).

We are using the default settings for session.   Sessions are turned ON in the CF administrator.  Max timeout is set to 2 days and default timeout is set to 20 minutes (although set to 1 min for testing).

The top of application.cfc looks like this:

<CFCOMPONENT>


<CFSET appname = "clientname">

<CFSET This.Name = appname>

<CFSET This.ClientManagement = false>
<CFSET This.SessionManagement = true>

...

</CFCOMPONENT>

We used to have this additional line:

<CFSET This.SessionTimeout = CreateTimeSpan(0,0,20,0)>

If we add the line back in, all works for CF Standard.  However, we took it assuming the timeout could be set from the CF administrator.  This doesn't seem to be true of CF Standard.  Anyone know about this?

Thanks.

    This topic has been closed for replies.

    1 reply

    dichi66Author
    Inspiring
    November 17, 2009

    This issue is resolved.  Installing the 7.0.1 update fixed the problem.