2 Replies Latest reply on Sep 16, 2006 7:27 PM by azadisaryev

    Session Management not working at all

    WestSide Level 1

      I am trying to use Application.cfc as opposed to Application.cfm.

      For some reason I get this error:

      Before session variables can be used, the session state management system must be enabled using the CFAPPLICATION tag.

      Session Management is turned on in my CF Administrator.

      Here is part of the Application.cfc file


      this.name = 'myAdmin';
      this.applicationTimeout = createTimeSpan( 2, 0, 0, 0 );
      this.clientManagement = false;
      this.clientStorage = '';
      this.loginStorage = 'session';
      this.sessionManagement = 'yes';
      this.sessionTimeout = createTimeSpan( 0, 0, 30, 0 );
      this.setClientCookies = true;
      this.setDomainCookies = true;


      All the other functions (onApplicationStart, onSessionStart, etc, etc) are in my Application.cfc, I just didn't want to list them.