4 ms·
I run a game where you can play without creating an account, and going back to the game later will take you back to your previous state. How would I manage this
by Kiro 7y ago
I run a game where you can play without creating an account, and going back to the game later will take you back to your previous state. How would I manage this without cookies? A lot of people don't want to create an account.
- saagarjha 7y agoCan you ask them if they'd like to save their progress?
- recursive 7y agoSave it where? What if there's no budget for server infrastructre? Say... a hobby project.
- kd5bjo 7y agoA query argument inside a URL that they can bookmark is one option.
- deleted 7y ago[deleted]
- saagarjha 7y agoLocal storage?
- recursive 7y agoI assume that whatever fate befalls cookies will happen to localStorage as well. But maybe not. localStorage is kind of better for this purpose in any case.
- deleted 7y ago[deleted]
- 0-O-0 7y agoShouldn't you be using localStorage for that?