Webstorage and Cache

Get help using Construct 2

Post » Mon Sep 10, 2012 8:28 pm

I know about Webstorage and the basics on how to implement it. My question is what happens when the user decides to clear out his/her internet cache? Won't that delete the Webstorage info and thus wipe out all saved info in the process?

Is there a way to backup the Webstorage data somewhere else on my internet server or on their machine so it can be retrievable?

My project Way of the Sax (I'm sure you all know about it by now) is a very lengthy interactive comic that requires save points due to several features that include minigame and collection scores and reader decisions.
B
14
S
5
G
4
Posts: 121
Reputation: 3,938

Post » Mon Sep 10, 2012 8:28 pm

Is this what requires the AJAX plugin?
B
14
S
5
G
4
Posts: 121
Reputation: 3,938

Post » Mon Sep 10, 2012 9:20 pm

It's easy to test: just store something in WebStorage, clear your cache, and see if WebStorage is still saved. Different browsers might treat it differently though.

Even if it gets cleared, I wouldn't worry about it: 99% of ordinary users probably never touch their cache.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Tue Sep 11, 2012 4:34 am

Im just curious, is there a way to backup the data then upload the data on game if want to continue the game?
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613


Return to How do I....?

Who is online

Users browsing this forum: agittm, mercuryus, mystazsea and 13 guests