Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Use cookies . When you first visit the page, we write it to the browser's memory, and then we check it. If it is, then we do something!
If you hide these blocks on the server, then yes, you can use cookies. If everything happens on the client, then localStorage is better.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question