Single Use Token without a database

by Pablo Carrasco Hernández   Last Updated May 15, 2019 21:05 PM

Is there a way to generate a single use token for password recovery, without using a database?

This is because, I have an application that doesn't have a database, and doesn't store or has access to the login database. I use a Web Service to login the users, and store everything I need on a session. So there is no need for a database.

I can create a token, that will be available for a certain amount of time, but that doesn't mean it will not be used more than once.

Tags : design


Related Questions


Updated April 29, 2015 23:02 PM

Updated April 29, 2016 08:02 AM

Updated December 17, 2017 20:05 PM

Updated March 29, 2018 08:05 AM