I have a website with a python backend and a javascript/html front-end, naturally. There is a certain pop-up that I want to show every hour. It does not matter on which page of the site a user is on; once the popup appears, it should wait for one hour to show up again. I can’t figure out how to create the cookie to do this. Presently the popup is governed by the front-end and it shows up each time a person navigates to a different page on the site. I would prefer to keep the management completely in the front-end. But I don’t mind managing it on the server either. So how to do track that I have already shown the popup to a certain user/browser instance and so wait for another hour before showing it again?
The key problem for me is that the cookie is for the entire website not just for one web page