Click here to Skip to main content
15,887,267 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in my website, a user have click submit button numerous time, and i got 2000 email for same user.

can you guide me to how to solve this issue, means if user click on number of time in x minute.
Posted

1 solution

In your db create a table
columns:

Userid e_mail_time
1 10:00:00
1 10:30:00
2 10:45:00
Quote:
Make Userid as fk-to your user table


1.Insert a new row to the table all the time
user send a email.
2.Before sending email query the above table and check x no of
email send by the user in between a time interval
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900