1

So my goal is to use offline storage to do this.

The main goal is remembering login information.

In what form should I store the data and how should I actually go about doing this?

Examples would be great, thanks!

fancy
  • 48,619
  • 62
  • 153
  • 231
  • why do you think you can't use cookies? is that an iOS5 change? – Robot Woods Oct 22 '11 at 01:01
  • I guess because they stop working, for others too... http://stackoverflow.com/questions/3813599/iphone-bookmark-to-homescreen-removes-cookies-and-session – fancy Oct 22 '11 at 01:12
  • hmm. I can't replicate it, but thanks for the heads up...I second looking into cache.manifest as an alternate – Robot Woods Oct 22 '11 at 01:18

2 Answers2

2

Use persistent storage. See this example from Apple docs.

UPD: Apple recommends using persistent storage facilities of HTML5 now. However, the above mentioned article is quite informative.

kervich
  • 487
  • 3
  • 13
0

think about the manifest system and store a dynamic javascript file with login variable inside... just an idea

xeonarno
  • 426
  • 6
  • 17