I currently created a website in WIX platform and it contains a login and registration web pages, but my main problem is once I logged in and closed the tab, it tells me to login again, my question is there a way to keep the login account active even when I close the tab?
Asked
Active
Viewed 21 times
0
-
You had to save authorization credentials using eighter `cookies` or `localStorage`. Saying auth creds I mean token or something else that backend requires for authorization. – Artyom Vancyan Feb 23 '22 at 08:25
-
Does this answer your question? [Local Storage vs Cookies](https://stackoverflow.com/questions/3220660/local-storage-vs-cookies) – Nimrod Feb 23 '22 at 09:14