On Wed, Dec 3, 2008 at 10:55 PM, anmldr <[EMAIL PROTECTED]> wrote: > > Sorry. I did have the js files in the wrong folder. But, I do see a > problem. > I have 2 test files in that folder. > > http://www.anmldr.com/i/test.html and > > http://www.anmldr.com/i/test2.html > > If you save data for the test.html file. Then you open the test2.html > file and click the Load button, the data is shown that was saved for > the OTHER page. How do you make sure that data is saved for every > page on a site?
You pages work as they should. But that is the point. Think of it as a database. No matter what page you are displaying the data on, the data in the database remains the same. On little change though is that this database's "server" is based on the location of the database (meaning the browser and the domain of the data). It's like how a cookie is tied to a domain AND browser. So data in Safari on mydomain.com->item1 is going to be different than localhost->item1 Is also different than: data in Firefox on mydomain.com->item1 is going to be different than localhost->item1 The reason why this isn't a problem in MobileSafari is that the user on a particular iPhone is always using the same browser visiting the same domain whether it's www.domain.com OR (in my case localhost in a native iPhone app using an UIWebKit instance). Michael --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
