icon
icon
icon
icon

Session Control

time
2024-06-25 14:34:28

Session is a session control parameter. If you use the default session parameter, different IPs will be automatically rotated each time. If you fill it in, the same IP will be provided as much as possible.

The life parameter refers to the session time, that is, the time to keep the IP in use, in minutes, with a minimum of 1 and a maximum of 24*60'. If you need to add session parameters and session ID strings, you need to use them in combination with life, such as life-15, session-random123, to enable session control.


The following example shows how session control works:

Your initial query at life-15, session-random123 gets the proxy IP address 2.2.2.2

As long as you keep sending new requests using the same session ID within 15 minutes, the system will route your queries through 2.2.2.2.


Code Example

The first request selects a German IP, and subsequent new queries try to keep the same IP (session control):

CURL

curl -x username_area-DE_session-random123_life-30:[email protected]:1212 https://api.ip.cc/