I thought sessions are turned on globally for every app run on the ColdFusion server... Do I need to turn them on for the Flex app? How do I do that?
And the Application.cfc file is nonexistent - I knew you needed an Application.cfm file for ColdFusion apps, but have never heard of using an Application.cfc file for a Flex app. So I guess I should create one, but I have no idea what to put in there, or where to put the file... I'm guessing these two things together would easily explain why session variables aren't working for me - I just wonder why neither of them was mentioned in Ben Forta's blog that I linked to before. L. On Sep 29, 2012 3:45 PM, "Cameron Childress" <[email protected]> wrote: > On Fri, Sep 28, 2012 at 7:17 PM, Laurence MacNeill <[email protected] > > wrote: > >> Only when I call the getSessionVar function do I get the "Variable >> SESSION is undefined" error... > > > Is "session" is undefined, it's actually probably because 1) sessions are > not turned on in the application scope for your application at all or 2) > your Application.cfc is not in the proper location for your remoting CFC to > use it. > > What do your application settings look like and where is the > Application.cfc relative to your remoting CFC? > > -Cameron > > -- > Cameron Childress > -- > p: 678.637.5072 > im: cameroncf > facebook <http://www.facebook.com/cameroncf> | > twitter<http://twitter.com/cameronc> | > google+ <https://profiles.google.com/u/0/117829379451708140985> > > >
