I wanted to create a temporary link where users may click on it to access a web page where they can leave a comment.
My current solution is using temporarySignedRoute in Laravel to generate a link that will expired,
$url = URL::temporarySignedRoute('comment.project.get', now()->addMinutes(100), ['id' => 1]);
But in this way, the link will only expired after 100 minutes. Expiration after 100 minutes is good, but i want it to also expired after user submit his comment.
So, my question, is there anyway to make the temporarySignedRooute link expired manually or once the user submit his comment?
Or any other suggestion from the community to resolve my problem here?
Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.