Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hi all,

I am trying to develop an invite only registration system. The only way to register is by following a generated link which will expire after a given time (let's say 12h). No user will have access to the base registration page (example.com/register.php), they will be redirected to the homepage no matter what. Right now I already have the whole user system working, but anyone can register by visiting the registration page.
Is there any solution to generate a URL (something like example.com/register.php/[random integer string]) and have it expire after a certain period of time regardless if a user follows it or not?

So in a few words:
- generate link (manually?)
- no one can access base file (register.php)
- link expires after 12h

Thanks for your time and help =)
Given the task, I would start looking for expiry parameter of <cms:cloak_url /> http://docs.couchcms.com/tags-reference/cloak_url.html
Awesome, that looks like it'll do the trick :D

Thanks
3 posts Page 1 of 1
cron