Scrapivore
Docs menuSticky sessions
Scraping

Sticky sessions

Some flows need the same IP across several requests: a login followed by a page that reads its cookie, a cart, a paginated search. Pass the same session_key on each call and the engine reuses the proxy that worked first.

  • The mapping lasts 10 minutes after the last use.
  • Any string works as a key. Use one key per flow, e.g. user-381-checkout.
  • If the sticky proxy fails, the engine picks a new one and remembers that instead.
  • Set ua_rotate to sticky_per_session to keep the same user agent too.