JavaScript: Tokens vs. Sessions
2 min readJan 26, 2023
Recently while building some personal projects as a Software Engineer, one of the challenges I faced was implementing sessions, which are used to persists login data, and enable HTML to save data that is sent between the client and the server.
As I moved along in my project, I realized that my users would not be able to refresh the page as no data was being stored from sessions. This limited the scalability…