Establishing session
The session ID parameter allows you to keep the same IP address to run multiple requests. To reuse the same IP multiple times, use sessid parameter after username with randomly created alphanumeric string, for example, session-abcd1234.
The standard session time is 5 minutes or up to 60s of inactivity (no requests). After that, a new IP address is assigned automatically. To adjust desired session time please refer to Session time(below)
For example, your initial query with session-abcdef123456 assigned proxy IP address 1.1.1.1. As long as you keep sending new requests with the same session ID and that IP address is online and available, the system will route your queries through 1.1.1.1. If you stop sending requests for 60 seconds or the IP address is no longer online, the system will assign a new proxy IP. Your next query with session-abcdef123456 will be routed through a different IP address e.g. 1.1.1.2.
Credentials list example
Example represents a list of credentials that establish different sessions.
USERNAME-zone-custom-session-swv43gbse-sessTime-5:PASSWORD
USERNAME-zone-custom-session-gnkly7nhm-sessTime-20:PASSWORD
USERNAME-zone-custom-session-45tdfbdferre-sessTime-10:PASSWORD
USERNAME-zone-custom-session-xvnf45sv-sessTime-30:PASSWORD
USERNAME-zone-custom-session-n8rdcse-sessTime-15:PASSWORD
Code example
We chose the same Spain IP as in the previous example, this time we are adding session string and sessTime parameter for 15 minutes:
curl -x socks5://USERNAME-zone-custom-region-ES-session-swv43gbse-sessTime-15:PASSWORD@global.proxyforu.com:3000 ipinfo.io