Is there an alternative scenario, such as the user is able to create
a new table with saves the session data for a maximum time (such as
24 hours), even up to a certain time if the web browser crashes for
example?
In general a database doesn’t change just because time has passed. You will need to setup something external to the database schema if you want time to cause change.
David J.