Rotating IPs and sticky sessions: how residential proxies work
What “a new IP on every request” means, what a sticky session is, and how to control IP changes through the proxy username.
Residential and mobile proxies work differently from private IPv4: you connect not to one IP but to a gateway backed by a huge pool of addresses. Which IP you get depends on the settings in your username.
Rotation: a new IP on every request
By default every new request goes out from a new IP. This is ideal for scraping: thousands of requests are spread across thousands of addresses, and the website sees no suspicious activity from a single IP.
Sticky session: one IP for a while
When several requests in a row must come from the same address (logging in, checking out, working inside an account), use a sticky session. Add a session ID and a duration to the username:
your_username-session-ab12cd-time-10
session-ab12cd— any 6 Latin letters or digits. Same ID, same IP.time-10— how many minutes to keep the IP.
Need a new address? Change the session ID (for example, to ab12ce).
Choosing a country, region, city or carrier
Targeting goes into the username too:
your_username-country-DE — Germany
your_username-country-DE-state-REGION-city-CITY — a specific city
your_username-country-DE-asn-CODE — a specific ISP or carrier
Combine it with a session: your_username-country-US-session-ab12cd-time-30 — one US IP for 30 minutes.
Don't want to build the string by hand?
In ProxyZen it is done with buttons. Open “My proxies”, click the residential or mobile row, and the connection builder opens:
- Pick a country, region and city, or a carrier.
- Turn on “Sticky session” and set the minutes.
- Choose HTTP or SOCKS5.
- Copy the ready-made string.
The “New IP” button changes the session ID instantly.
When to use what
| Task | Mode |
|---|---|
| Scraping catalogues and search | Rotation |
| Logging in and working in an account | Session for 10–30 minutes |
| Registering an account | Session for the duration of sign-up |
| Checking ads by city | Session + city |
ProxyZen residential proxies cost $1.59 per GB, mobile $2.40 per GB, and traffic never expires. Buy traffic.
Try ProxyZen
IPv4 and IPv6 from $0.05, residential and mobile per GB. Instant delivery, HTTP(S) and SOCKS5.