http12User Guide
FAQhttp12
User Guidehttp12

Session Control

After selecting the expiration time, a session ID character will be randomly generated in the "Session" box. For example, Session:HkpQcVhdYc. This helps to ensure that the proxy used in requests remains unchanged as much as possible. The following example illustrates how session control works:

For example, if your initial query with the session ID "session-HkpQcVhdYc" obtains a proxy IP address of 1.2.3.4.

As long as you keep sending new requests using the same session ID, the system will route your queries through 1.2.3.4 and return the same IP address as much as possible.

 

Code example

If you want different IP addresses for multiple requests, you can "enter any combination of 4 to 12 digits or letters", or achieve this by re-clicking the "Time" button to generate different session IDs. Here, we take the session ID generated by re-clicking the "5 minutes" option as an example:

The first request with HkpQcVhdYc will choose a US IP, and subsequent queries will maintain the same IP (session control):

curl -x USERNAME_area-US_session-HkpQcVhdYc_life-5:PASSWORD@gw.aproxy.com:2312 https://api.ip.cc/ 

In addition, the two parameters, "life" and "session", need to be used in conjunction to ensure optimal proxy performance and stability.

The "life" parameter refers to the length of time during which the proxy IP remains unchanged within the valid period of the proxy IP. For example, when the "life" is set to 5 minutes, the proxy IP will remain stable within these 5 minutes.

However, please note that the survival time of the IP determines whether the rotation duration is valid. If the IP goes offline prematurely within the set time, the set rotation duration cannot be maintained.


http12 Updated 4 week ago
http12 Select Country/Region
http12ISO/IEC 27001:2017 Certified Product
Start Your Efficient Proxying and Scraping Journey.
Buy Now
Privacy PolicyTerms of Service
Copyright © 2023 Aproxy. All rights reserved.
http12
http12Due to policy reasons,Proxy must be used in non-Mainland China Internet environment!
Smart Innovation Technology LimitedUNIT1021, BEVERLEY COMMERCIAL CENTRE, 87-105 CHATHAM ROAD SOUTH, TSIM SHA TSUI, KOWLOON
This website uses cookies to improve the user experience. To learn more about our cookie policy or withdraw from it, please check our Privacy Policy and Cookie Policy.
http12
Chat