Alpha DevCon 2018
Results 1 to 3 of 3

Thread: Local storage question

  1. #1
    Member
    Real Name
    Simon Mayeski
    Join Date
    Jun 2010
    Location
    San Diego, CA
    Posts
    51

    Default Local storage question

    It sure seems like records persist in local storage even after being deleted in the MySQL table. As I am testing my app (in PhoneGap) I continue to see a dozen records in the app on my phone, when I have manually deleted those records in MySQL through MySQL Workbench. I would think that after executing a "Synchronize" event by after saving a new record, that next time I search for records to display on the phone I would only see records that actually meet the query conditions, and would also actually be in the database. Might this just be a caching problem? I would not think it necessary to have to code for this after a "sync" event, but maybe that is the case. If anybody is able to help out with this, if nothing else pointing to the correct documentation, that would be great.

  2. #2
    "Certified" Alphaholic
    Real Name
    David Kates
    Join Date
    Apr 2008
    Location
    Unionville, ON
    Posts
    6,800

    Default Re: Local storage question

    Have a look in your List control Detail View tab for the Synchronization policy information. You probably need to execute a server-to-client sync.

  3. #3
    Member
    Real Name
    Simon Mayeski
    Join Date
    Jun 2010
    Location
    San Diego, CA
    Posts
    51

    Default Re: Local storage question

    Thanks, David, that did the trick. I'd seen that page a couple of times lately, but...thanks.

Similar Threads

  1. delete local storage
    By jhaytko in forum Mobile & Browser Applications
    Replies: 10
    Last Post: 04-23-2015, 07:36 PM
  2. Restore List Data from Local Storage
    By jhaytko in forum Mobile & Browser Applications
    Replies: 1
    Last Post: 01-23-2015, 01:23 PM
  3. Find client's local temp directory so web apps can save file to local machine
    By iviowa in forum Application Server Version 10 - Web/Browser Applications
    Replies: 5
    Last Post: 06-08-2010, 05:07 PM
  4. Question about Local tables & shadows
    By rhale@haleabc.com in forum Alpha Five Version 8
    Replies: 5
    Last Post: 05-14-2008, 08:43 AM
  5. local function question - where does value go
    By oldtony in forum Alpha Five Version 8
    Replies: 6
    Last Post: 04-24-2007, 05:14 PM

Bookmarks

Posting Permissions

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