javascript - Using Firebase, how would I make a page where a user can manipulate data, save it, log out, log back in, then come back to that same data? -
i using firebase, , i've made login application.
what want do, is, after user registers , logs in, they'd redirected new page.
example: window.location = 'loggedin.html';
on page, we'd have simple button counter. click button, , number increases one. (example, this: http://jsfiddle.net/dfprp/)
after they're done, they'd submit data (i have part done) , log out.
however
once log in, want them have same saved data had before.
so if log in, increment number 10, submit , save, logout, log in, they'd have saved 10 count increment.
i hope makes sense.
Comments
Post a Comment