Generate unique expirable links

I’m new to Bubble, but I have some programming experience in Java and Python.
I’m trying to make a web app that can email people a link to a form on my website specific to each individual, even when they aren’t registered users. After they complete the form, I want that link to expire so it can’t be used twice.
My question is:

  1. How can I generate unique links to a form for each person
    -and-
  2. How can I make the link expire once the person submits the form

Thanks in advance -Logs

3 Likes
  1. Generate a unique id for each link, and append that as a URL parameter.

  2. Store the link id and the expiry time.

When the user hits the page with the link, read in the parameter, and then check the expiry.

You could also do this with a URL path instead of a parameter.

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.