im new to nodejs. before nodejs i used php for backend language.
Im planning to create a simple login form where user can register, confirm email and login with that email. my question is after logging in, how can i store logged in user data for future use?
before with php i used to use session for storing username and user ID, is there any way to store data which user cant access? THERE ARE SOME WAYS LIKE localStorage, cookie, session, etc... but localStorage can accessed by user, cookie user need to enable on their browser, session i dont know about it in nodejs!
please sugest me a way to store it with nodejs!
Aucun commentaire:
Enregistrer un commentaire