Session control
Session control types include sticky sessions and rotating sessions
sticky session
Sticky sessions allow a single IP address to be reserved for multiple requests.
Configuration Rules:
No need to splice session ID parameters
Can be used with specified country/region parameters when configuring, without specifying the default global random
Parameterized configuration
For example, set the sticky mode duration to 10 minutes for a US IP: USERNAME_any-number-country-us

After a standard session time of 10 minutes or no more than 60 seconds of inactivity (no requests), a new IP address is automatically assigned.
For example, after you are assigned to the proxy IP
1.1.1.1usingUSERNAME_234234, your requests will always be transmitted through1.1.1.1as long as you continue to send requests using this session parameter and the proxy node remains available. When the session time exceeds the preset 10 minutes, the next request usingUSERNAME_234234will automatically be assigned a new proxy IP, such as1.1.1.2.
You can also set multiple different session proxy addresses, such as:
USERNAME_234234:PASSWORD
USERNAME_345345-country-us:PASSWORD
USERNAME_456456-country-us-state-ca:PASSWORD
USERNAME_567567-country-us-state-ny-city-newyork:PASSWORDCode Example:
USERNAME_234234-country-us This example demonstrates how to make a first request from a US IP containing the -country-us parameter. During the 10-minute session validity period, all subsequent queries will continue to use the US IP address.
curl -x "socks5h://USERNAME_234234-country-us:PASSWORD@proxy-hk.socks5.io:3000" "http://ip123.in/ip.json"Rotate session
When the session type is set to Rolling Session:
Dynamic IP Assignment: Automatically assigned New Residential IP on every request
Applicable scenarios: High anonymity business requirements
Configuration Rules:
- Add the -f-1 parameter to USERNAME when configuring
- Can be used with specified country/region parameters when configuring, without specifying the default global random
Code Example:
USERNAME_arbitrary-f-1-country-us This example demonstrates how to make a request from an IP that contains the -f-1 parameter and the -country-us (specifies the United States) parameter. Each request is assigned a brand new US IP.
curl -x "socks5h://USERNAME_any number-f-1-country-us:PASSWORD@proxy-hk.socks5.io:3000" "http://ip123.in/ip.json"