Sessions control & Static IP
Session Management and Credentials
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, sessid-abcde12345.
Understanding Sessions
LimeProxies utilizes a session-based system to manage your proxy connections. A standard session lasts for 10 minutes or until 60 seconds of inactivity (no requests). After this, a new IP address is automatically assigned to ensure optimal performance and avoid detection.
Controlling Session Duration
You have the flexibility to adjust the desired session time using the sesstime parameter. This parameter, when combined with your sessid, allows you to extend the session duration up to 30 minutes. Note that the session will expire even if requests haven't finished within the set time limit.
Credentials Structure
Your LimeProxies credentials are structured to include session information for precise control:
customer-USERNAME-sessid-YOUR_SESSION_ID[-sesstime-DURATION_IN_MINUTES]:YOUR_PASSWORDYOUR_SESSION_ID: A unique identifier for your session.DURATION_IN_MINUTES(Optional): Specifies the session duration in minutes (up to 30).
Examples:
Default Session:
customer-YOUR_USERNAME-sessid-abcde12345:YOUR_PASSWORDSession with 20-Minute Duration:
customer-YOUR_USERNAME-sessid-abcde12345-sesstime-20:YOUR_PASSWORD
Using Credentials in Code
Here's how you would use your credentials in a cURL request:
Bash
Important Considerations:
Subsequent requests with the same
sessid(and optionalsesstime) will utilize the same proxy IP address until the session expires or the IP becomes unavailable.You can maintain multiple concurrent sessions by using different
sessidvalues.
Last updated