http12Panduan Pengguna
Pertanyaan Umumhttp12
Panduan Penggunahttp12

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
http12Produk Bersertifikat ISO/IEC 27001:2017
Mulailah Perjalanan Proxy dan Scraping Efisien Anda.
Beli Sekarang
Kebijakan PrivasiKetentuan Layanan
Hak Cipta © 2023 Aproksi. Semua hak dilindungi undang-undang.
http12
http12Karena alasan kebijakan, Proxy harus digunakan di lingkungan Internet non-Daratan Tiongkok!
Smart Innovation Technology LimitedUNIT1021, BEVERLEY COMMERCIAL CENTRE, 87-105 CHATHAM ROAD SOUTH, TSIM SHA TSUI, KOWLOON
Situs web ini menggunakan cookie untuk meningkatkan pengalaman pengguna. Untuk mempelajari lebih lanjut tentang kebijakan cookie kami atau menarik diri dari kebijakan tersebut, silakan periksa Kebijakan Privasi Dan Kebijakan Cookie.
http12
chat