|
Hey guys,
I was wondering whether or not MySql could automatically empty all the data from a table after say, 3 hours. Even though the user isn't looking at the website.
eg. Bob uses the site, inputs some temporary data (that isnt ment to be stored forever) then closes the browser and goes to bed.
He wakes up in the morning and goes back to the site, and his data is gone.
Would you just put a check at the top of the php page to see what the time is now, check it against what time the data was inputted into the database, and then just empty it? Or can it be done all automatically?
__________________
Websites Created;
warscope.com
ratepayers.org.nz
|