Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bobi 346 posts 950 karma points
    Mar 16, 2019 @ 23:05
    Bobi
    0

    Suggestions for creating customer login and/or custom urls that expire

    Hi all,

    I am trying to allow customer to provide information through some type of unique login with a contact form (only visible to customers with provided credentials) or a custom url that can be provided to the customer that expires after a set period of time or can be expired by the administrator.

    Any suggestions on how to implement the objective of trying to get sensitive personal data solely from customers (so a page viewable to the public would not suffice)? I provided the two examples above of a login for customers or a unique url that expires/can be expired because I am not aware of any other options.

    -Thanks.

  • Søren Gregersen 441 posts 1884 karma points MVP 2x c-trib
    Mar 18, 2019 @ 04:59
    Søren Gregersen
    0

    if you don't want to code that much, you can just create a page and set it to be unpublished at a certain date.

    If you do want to code, you should create a table with a token (or id) and an expiration timestamp. Then in the controller that serves your page, you check the token is valid (found + not expired).

Please Sign in or register to post replies

Write your reply to:

Draft