# What happens if a pass expires before you send

A work pass is short-lived on purpose. By default it lasts 15 minutes and covers 20 actions. If someone takes longer than that to finish a form, or if the pass has already been used up, the old pass is no longer valid.

In a browser, `attackfee.js` checks the pass at submit time. If the pass has expired or has no uses left, the script does not send the form with a dead pass. It holds the submit, earns a new work pass, and then sends the post. The visitor may wait through that check. They should not have to reload the page.

A client you write yourself should do the same kind of thing. If you present an expired or used-up pass, the write is refused. `/v1/siteverify` reports `timeout-or-duplicate` when a pass has expired, been used up, or been sent again. Get a new pass and retry the write. Two requests cannot share one use of a pass.

Paid passes can be shorter. See [Paid pass reuse and expiry](/learn/payments/paid-pass-reuse-and-expiry) for that path. People never pay money on the browser work path.

## Where Attackfee fits

See [How long does an Attackfee pass last?](/learn/concepts/how-long-a-pass-lasts), [Why short-lived passes matter](/learn/concepts/why-short-lived-passes-matter), and [How to handle a refused write in your own client](/learn/concepts/how-to-handle-a-refused-write-in-your-own-client).

- [Attackfee](/)
- [Learn](/learn)
- [Concepts](/learn/concepts)
- [What happens if a pass expires before you send](/learn/concepts/what-happens-if-a-pass-expires-before-you-send)

## Related

- [How long does an Attackfee pass last?](/learn/concepts/how-long-a-pass-lasts)
- [Why short-lived passes matter](/learn/concepts/why-short-lived-passes-matter)
- [What happens if a write has no pass?](/learn/concepts/what-happens-without-a-pass)
- [How to check whether a pass is still good](/learn/concepts/how-to-check-whether-a-pass-is-still-good)
- [Two requests cannot share a pass use](/learn/concepts/two-requests-cannot-share-a-pass-use)
- [Paid pass reuse and expiry](/learn/payments/paid-pass-reuse-and-expiry)
- [Agent calls](/docs/ask)

## Questions



### "How long does a work pass last?"

"15 minutes, and 20 actions, unless the site changed those defaults."

### "Does the visitor have to reload the page?"

"No. If they send the form after the pass has expired or been used up, the page script earns a new pass and then sends the post."

### "What if my own client sends an expired pass?"

"The write is refused. Siteverify reports timeout-or-duplicate when a pass has expired, been used up, or been sent again. Get a new pass and retry."

### "Is a paid pass the same length?"

"Not necessarily. Paid pass reuse and expiry are covered on their own page."
