[eluser]Think Floyd[/eluser]
Hi all,
I'm looking to create a "Temporary User" system, for the purpose of demo'ing a website I'm working on. I'm just after a little advice on how to approach this scenario.
My thoughts are that I would create a table in the DB with the following fields:
- id
- username
- password
- expiry date
So the issue is; how do I clear the rows where the expiry date has been exceeded in an automated fashion? Would this call for CRON jobs, or is there a more graceful solution?
Ta, and any help appreciated.