0 Replies Latest reply on Dec 6, 2013 5:33 AM by genadi_mak

    Session variables and RESTful API in Coldfusion10

    genadi_mak Level 1

      We are in the process of gradually implementing REST services for our web application new design. Currently, the application is in old procedural style type app.

      The new app will be in html5 with back end implemented in CF10 REST api calls to cfc`s returning JSON formatted objects.


      We need to pass SESSION variables to the REST cfc's through jquery calls. Is there way to avoid putting SESSION variables as arguments to jquery calls? Perhaps, to map to a function...?


      All the REST cfc's are located in the web root of Coldfusion10 so, SESSION scope is not accessible to REST cfc's.


      I know that REST is stateless but, we can not get away from SESSION so, we need to know if there is a solution to this.