Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Session variables and RESTful API in Coldfusion10

$
0
0

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


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>