简体   繁体   中英

how can I guarantee that a repeat visitor won't cause the server to repeat an action?

I want the server to make a change to a database when a first time user visits. I don't want it to be easy for a user to pretend to be a first time visitor again (such as deleting his cookie). Does anyone have ideas on how to accomplish this?

Track a user's HTTP header data. Note that this will not be accurate if users at the same IP are using computers with identical configurations.

Short of making them login there is not much. If you log ip address you will not be able to distinguish behind NAT.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM