Skip to main content
Inspiring
December 6, 2013
Question

Session variables and RESTful API in Coldfusion10

  • December 6, 2013
  • 0 replies
  • 1389 views

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.

Thanks,

Gena

This topic has been closed for replies.