I want to provide a url to an requested user through email for a download request. The url is valid for a minutes, when user tries to access that url after a minutes the web app should redirect him to another page. what is the best logic to go about!!.kindly let me know your views.
Share
Create an URL to the resource to download that contains a query string with an encrypted expiration date. Very simple to manage and you don’t have to rely on a database.
http://example.com/download.php?aid=jHYgIK7d