Results 1 to 3 of 3

Thread: Is local storage will persistence data

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default Is local storage will persistence data

    Hi ,

    i have a question on Ext.data.Store.
    1. while using Ext.data.Store for local storage how log the data will be available , if clearing cache or cookies the data are retains or it will go off ?
    2. is it possible to create a physical data storage file, some thing like .sqlite files


    any one please answer my above question
    Thanks in advance

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    You can't create files on the device, only use what the browser will let you use. I'm assuming you are wanting to keep data on the device regardless of what the user does like clearing things?
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364
    Answers
    102
    Vote Rating
    86
      0  

    Default

    Local storage is cleared when users clear browser data on their phone. Nothing you can do about it. The only thing you could do is package up w/ a packager, then you could create files. but that requires distribution via app store channels for certain vendors like apple.

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
  •