DEV Community

Discussion on: Guest Login in JavaScript 🤯

mcwolfmm profile image

show image code? are you serious?

to talk about login, you need to associate the user ID with a session. add another collection of session data and the article may make some sense.

and for god's sake, don't give the code a picture

rajeshj3 profile image
Rajesh Joshi Author

As per the request, I've provided the code this time.

Some comments have been hidden by the post's author - find out more