Hey guys, another quick question for experts. I have a warning window that displays updates processed in php to the user, just like this site. I want to make sure that if the user closes the window, he will not appear for another 5 minutes (if they do not check the messages, he will not appear, because the entries that cause the pop-up are deleted in the database), At the end of the window I I thought about providing a javascript cookie to the user, since the warning window is being executed in javascript. I was wondering if this was bad coding practice, as I am not familiar with cookies and have previously been warned against them. If anyone has any advice or can recommend a better way, I would really appreciate it.
source
share