Automatic Expiry of the Code - PHP
Posted: Fri Sep 19, 2008 10:29 pm
Hi,
I am trying to create an Authorization code for a user which should automaticaly get expired after 15 mins of generation.
I am using PHP rand function to generate the code. This code will be sent to user by mail. Now, user must use the code with in 15 mins in some other page.
The problem : how to I delete the code after 15 mins, though I save the time of generation of the code.
Please help me in this regard
Santosh
I am trying to create an Authorization code for a user which should automaticaly get expired after 15 mins of generation.
I am using PHP rand function to generate the code. This code will be sent to user by mail. Now, user must use the code with in 15 mins in some other page.
The problem : how to I delete the code after 15 mins, though I save the time of generation of the code.
Please help me in this regard
Santosh