Member Avatar


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?


Recommended Answers

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 meeting, networking, learning, and sharing knowledge.