Welcome Guest, Not a member yet? Register   Sign In
Temp Users
#1

[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.


Messages In This Thread
Temp Users - by El Forum - 05-11-2009, 06:23 AM
Temp Users - by El Forum - 05-11-2009, 06:26 AM
Temp Users - by El Forum - 05-11-2009, 06:42 AM
Temp Users - by El Forum - 05-11-2009, 07:26 AM
Temp Users - by El Forum - 05-11-2009, 07:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB