Answered: How to use multiple proxies with a single model?
Answered: How to use multiple proxies with a single model?
Hi,
I'm just starting with Sencha Touch 2 and I'm implementing authentication for my app.
I've got Session model that currently uses Ajax proxy. The issue is that after successful authentication (success callback in session.save) with the server, I'd like to store session object in local storage, so when user launches the app again, I can read session data from local storage and automatically authenticate user if session data is present.
Currently I'm simply using HTML 5 localStorage directly. Is there some "Sencha Touch" way to do it?