Session Control
Establishing a Session
The session ID parameter allows you to retain the same IP address to run multiple requests. To reuse the same IP multiple times, append a randomly created alphanumeric string to the sessid parameter, such as sessid-abcde12345.
Session Control
The default session time for an IP address is 15 minutes, but our IP supports any time duration from 1 to 120 minutes, and a new IP address will be automatically assigned based on the time duration you set. To adjust the desired session time, see Session Time.
For example, your initial query for sessid-abcde12345 is assigned a proxy IP address, 1.1.1.1. As long as you continue to send new requests with the same session ID, and that IP address is online and available, the system will route through 1.1.1.1. If the time you set expires, the system will assign a new proxy IP. Your next query for sessid-abcde12345 will be routed through a different IP address, such as 1.1.1.2.
Example of a credential list:
The examples represent a list of credentials for establishing different sessions.
Code Sample
sessid-abcde12345 In this example, we use the German IP in the username in the first request. All subsequent requests will use the same German IP on further queries:
Session time
The sesstime parameter, when used in conjunction with sessid, allows you to set a specific time to extend the session by 1-120 minutes.
The session time parameter cannot guarantee that all your queries will be completed at the end of the session. Even if the request is not completed, the session will expire within the set time limit.
Example of a credential list:
The example indicates establishing a credential list for different sessions with different session times (minutes).
Code Sample
We select the same German IP as in the previous example, this time we add a 7 minute sessid string and parameter: sesstime
Last updated