@saroh to Ye Power Trippin' [email protected] • 3 months agoOblivious world @ Lemmy world modimagemessage-square119arrow-up1477arrow-down140file-text
arrow-up1437arrow-down1imageOblivious world @ Lemmy world mod@saroh to Ye Power Trippin' [email protected] • 3 months agomessage-square119file-text
minus-squareidunnololzlink14•2 months agoAnother popular solution I see is to have the client generate a UUID when posting. Then the server can very easily tell if a request is a duplicate.
minus-squareJackbyDevlinkfedilinkEnglish6•2 months agoI’ve seen this concept called idempotency tokens. I thought it was common but a quick search didn’t find any articles on it so maybe the name is not that common.
minus-squareJackbyDevlinkfedilinkEnglish1•2 months agoNonce is the opposite. It’s never supposed to be used more than once, right?
Another popular solution I see is to have the client generate a UUID when posting. Then the server can very easily tell if a request is a duplicate.
I’ve seen this concept called idempotency tokens. I thought it was common but a quick search didn’t find any articles on it so maybe the name is not that common.
Nonce, maybe?
Nonce is the opposite. It’s never supposed to be used more than once, right?
Yeah, that’s the proper fix.