Hello. I was wondering if anyone knew how to delete rows from a mySQL table when a session expires (my session will expire when the user closes the window). If the script is terminated, how do I delete the rows other than manually.
The table contains a session id field that will identify the rows that need to be deleted. For example, there may be three rows in the table with the same session id that need to be deleted when the user leaves the site.
Thanks so much. I really appreciate it.