Share feedback, ideas and get community help

Updated 5 months ago

Best way to limit actions to X number per day?

At a glance

The community member is looking for the best way to implement a counter that resets 24 hours after an action is completed, in order to limit certain actions to once or twice per 24 hours. A community member suggests saving the client's IP address in a database with a counter and reset time, and checking it at the start of the typebot (application).

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?
A
N
2 comments
save client ip in a database with counter and reset time and check it at start of typebot
Thank you Abdullah! I will try that.
Add a reply
Sign up and join the conversation on Discord