Results 1 to 2 of 2

Thread: How to use multiple proxies with a single model?

  1. #1
    Sencha User
    Join Date
    Oct 2012
    Location
    Poland
    Posts
    70
    Answers
    4
    Vote Rating
    5
      0  

    Default 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?

  2. It only supports one out of the box, supporting multiple you would need to handle.

  3. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1391
      0  

    Default

    It only supports one out of the box, supporting multiple you would need to handle.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •