T
Typebot16mo ago
Nicolai

Best way to limit actions to X number per day?

I would like to allow people to do certain things only once or twice per 24 hours. What is the best/smartest way to implement some kind of counter that resets 24 hours after an action is completed?
2 Replies
Abdullah
Abdullah16mo ago
save client ip in a database with counter and reset time and check it at start of typebot
Nicolai
NicolaiOP16mo ago
Thank you Abdullah! I will try that.

Did you find this page helpful?