I'm using Express the Node.JS framework, and cookies for authentication.
How can I show a pop up for the user's first login only?
I'm using Express the Node.JS framework, and cookies for authentication.
How can I show a pop up for the user's first login only?
You can use the same technique from my answer here:
if (!localStorage.getItem("firstTime")) {
localStorage.setItem("firstTime", "true");
showPopUp();
}