Member Avatar

Hi,

After a user has registered, if they do not respond to the email sent to activate their account: then what is responsible for deleting the pending registration?

Is it a database script?

Thanks,
Ashton.

Recommended Answers

You can do it on each page load. Just have a function to run a query to delete all records that are expired.

You can also do a cron job that runs at the end of each day.

Jump to Post

All 4 Replies

You can do it on each page load. Just have a function to run a query to delete all records that are expired.

You can also do a cron job that runs at the end of each day.

Member Avatar

Cron job?

Member Avatar

Hahaha how awesome is that!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.