Black Friday-Special:

Verwenden Sie den Gutscheincode

FRIDAYNIGHT2024

für zusätzliche 10 % Rabatt auf das Wohnpaket!

Was können wir für sie tun?
naproxy

Die nutzerführer

Erweiterte anleitung, wie NaProxy in systeme und software integriert werden kann

naproxy By NaProxy

· 35 Artikel.

Session control
naproxy

By NaProxy

2024-11-20 16:44

After the expiration time is selected, random session ID characters are generated in the SESSION column, for example, SESSION

: dgjMiyFb0r so that requests can be made to leave Proxies as unchanged as possible. The following example shows how session control works:

 

Let's say you get the Proxies IP address as 1.2.3.4 with the initial query from session-eeutlDC

As long as you keep sending new requests using the same session ID, the system will return your queries to the same IP as possible via 1.2.3.4 routing.

 

Code example

If you want to request different IPs for multiple requests, you can either "enter any 4-12 digit or letter combination" or generate different session IDs by re-clicking on "Time". Here is an example of a session ID generated by re-clicking on "5 minutes time":

For example, if you change the SESSION to rO8a4OueD4, n3ptOBPCaE, uENYcdux9X, 49xFdgrcln, njL9mDT1Av......, etc., you will get different IPs with the code example below:

 

The first rO8a4OueD4 request will select the US IP and subsequent new queries keep the same IP (session control):

curl -x USERNAME_area-US_session-rO8a4OueD4_life-5:PASSWORD@us.naproxy.net:1234 https://api.ip.cc/

 

The second n3ptOBPCaE request will select the US IP, and subsequent new queries keep the same IP (session control):

curl -x USERNAME_area-US_session-n3ptOBPCaE_life-5:PASSWORD@us.naproxy.net:1234 https://api.ip.cc/

 

The third uENYcdux9X request will select the US IP and subsequent new queries keep the same IP (session control):

curl -x USERNAME_area-US_session-n3ptOBPCaE_life-5:PASSWORD@us.naproxy.net:1234 https://api.ip.cc/

 

The fourth 49xFdgrcln request will select the US IP and subsequent new queries keep the same IP (session control):

curl -x USERNAME_area-US_session-49xFdgrcln_life-5:PASSWORD@us.naproxy.net:1234 https://api.ip.cc/

 

The fifth njL9mDT1Av request will select the US IP, and subsequent new queries keep the same IP (session control):

curl -x USERNAME_area-US_session-njL9mDT1Av_life-5:PASSWORD@us.naproxy.net:1234 https://api.ip.cc/

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

The life parameter refers to the length of time that the Proxies IP will remain unchanged during its validity. For example, when life is set to 5 minutes, the Proxies IP will remain stable during those 5 minutes, allowing users to make continuous connections and data transfers. However, at the end of the 5 minutes, the IP will not expire, but will automatically switch to another valid IP, ensuring that the user maintains anonymity and security of the connection while continuing to use it.

 

(User Auth & Pass Extraction has seven types of IP rotation time for you to choose, they are "different IP per request, 5 minutes, 10 minutes, 30 minutes, one hour, two hours", of which the shortest time can be set to 5 minutes and the longest time can be set to two hours, you can choose by yourself according to your needs. API Extraction custom IP rotation time, the shortest can be set to 1 minute, the longest can be set to 7200 minutes, you can set any setting between 1 minute and 7200 minutes, according to your specific needs to adjust).

 

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

To ensure connection stability, Proxy Services usually keep the Proxy IP unchanged for the duration of a session. Even when a Proxy IP is nearing the end of its life, the Proxy Service replaces it with a new Proxy IP well in advance to ensure session continuity and an uninterrupted user experience. This means that you get seamless connectivity even when the current Proxies IP is nearing the end of its life cycle.

 

Example:

curl -x USERNAME_area-US_session-njL9mDT1Av_life-5:PASSWORD@us.naproxy.net:1234 https://api.ip.cc/

This command will maintain the same Proxies IP with the specified session ID for the 5 minutes set in the life cycle. Even after the 5 minutes are over, the IP will not be invalidated and will automatically switch to another valid IP to provide a stable and continuous connection.

By setting the life and session parameters appropriately, you can optimize the use of Proxies for your specific needs, ensuring the best balance between data transfer and connection stability.


NaProxy
Kontaktieren Sie den Kundenservice
NaProxy
Kontaktieren Sie uns per E-Mail
NaProxy