permanent and secure state storage
so for my app im checking if a user has paid a paypal invoice.
on the frontend I display a few buttons (so once they pay it, they click a button)
I basically time it so in 180 seconds the user has to pay it or it gets cancelled.
but the first 180 sec, they get a button that resets the time and lets them do it again without filling in a form.
im wondering how I can store the state of such things permanently (they can't reload the page to reset timers or whatever)
I was thinking local storage but users could edit the numebr of times they've clicked hte button to check (thats a state var)
0 Replies