A sticky session is a proxy setting that keeps routing your requests through the same exit IP address for a set period or until you change the session ID, instead of assigning a new IP on every request. That continuity lets multi-step tasks such as logins, carts, and checkouts run without the site seeing your IP change mid-session.
On some gateways, you can set the sticky session duration, in some cases up to 24 hours, and the session expires when that time runs out.
How Sticky Sessions Work
Some rotating-proxy gateways create a sticky session from a session ID you add to the proxy username:
- Requests that reuse the same session ID leave through the same exit IP.
- The IP stays assigned until the session length you chose runs out. On some networks, it also ends if the session is idle.
- Changing the session ID forces a new IP. This lets you run several sticky sessions in parallel, each on its own IP.
Limitations of Sticky Sessions
- A target that rate-limits by IP can answer with
429 Too Many Requestsonce one IP sends too many requests in a given time. - If the IP goes offline before the session ends, some gateways swap in a new IP automatically. That can break a task halfway, so build in retries.
- When the session window closes, the IP changes, which can interrupt work still in progress.