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 - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,023
    Answers
    3976
    Vote Rating
    1334
      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
    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

  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
  •