0 Replies Latest reply: Apr 20, 2012 3:41 PM by InfoCon_Brian RSS

    Flash and cflock

    InfoCon_Brian

      Running Coldfusion8

      Flex 3

       

      I am trying to do a cflock (either session or application) in a function.

       

      I get the error message:

      "Cannot use cflock to lock the application or session shared scopes without these scopes  being established through the use of the cfapplication tag. To use the session  scope you need to enable session management. Application and/or Session variables  must also be enabled in the ColdFusion Administrator."

        faultString = "Unable to invoke CFC - Cannot lock Application scope."

       

      Session management is enabled in both the administrator and Application.cfc.

       

      I am thinking that RemoteObject is not going though the "Application.cfc" and is

      just doing a direct call to the ColdFusion Component.

       

      How do I get thread-safe removeobject calls?

      Any ideas how to resolve this problem?