Hello, I have a question, on my site I have a login system that when the data is valid, the system generates a hash that stores in a cookie in the browser, and stores in the database an association of that hash with the id of the user profile! But I wanted that when the cookie disappeared from the browser it would automatically be deleted from the database that association, for security reasons! Does anyone know how this is done?
asked by anonymous 27.08.2018 / 09:59