we are currently developing a mobile app with the following setup:
- a set of rails controllers which provides data in json format
- a sencha touch app that uses the rails controller to fetch this data

The application should manage sessions and also additional information similar to a cart object. What we are not sure about is to how to best handle the session and are wondering whether there are any recommendations.

So far, our thinking is to save the session object on the rails app and always send a session id when the sencha touch app is requesting data from it. In this way all data is managed by the rails app. Any other ideas/suggestions?