Results 1 to 2 of 2

Thread: 4.0.2 and above, Coldfusion session management issue - workaround

  1. #1
    Ext JS Premium Member
    Join Date
    Jul 2010
    Location
    UK
    Posts
    534
    Vote Rating
    29
      0  

    Default 4.0.2 and above, Coldfusion session management issue - workaround

    Builds 4.0.2 and above; state-management is enabled by default for every component. This causes an issue with Coldfusion session management.

    e.g.
    Code:
    <cfapplication name = "MyApp"  sessionTimeout = "#CreateTimeSpan(0,0,60,0)#" sessionManagement = "Yes" clientmanagement = "Yes">
    I'm not sure why EXTJS is clearing/killing the CF session management but... As a work-around (and a bit of a blunderbuss approach) is to switch of EXTJS state-management at a global level.

    Code:
    Ext.override(Ext.state.Stateful, { stateful: false } ); 
    Ext.override(Ext.AbstractComponent, { stateful: false } );
    Thanks to stevil for helping me out on this one.

  2. #2
    Sencha User
    Join Date
    Oct 2012
    Posts
    6
    Vote Rating
    0
      0  

    Default Didn't work for me

    I got the following error:
    Uncaught TypeError: Cannot read property 'Stateful' of undefined

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •