How to use session control
Learn how to use the same proxy IP for multiple requests with sessid- parameter.
Last updated
Was this helpful?
Learn how to use the same proxy IP for multiple requests with sessid- parameter.
Session control allows you to use a particular proxy IP address for an extended time with multiple requests. You can control your proxy sessions by adding a sessid- parameter to your user authentication string, followed by an alphanumeric string of your choice.
For instance, a complete authentication string would look something like this:
customer-USERNAME-sessid-abcde12345:PASSWORD. We’ve outlined the steps extensively in our documentation. Hence, you can find the links for your acquired Oxylabs product in the list below:
Dedicated ISP Proxies provide fully dedicated IPs with unlimited-duration sessions, meaning each IP is exclusively assigned to you for as long as you need. Instead of using the sessid parameter for session control, you access specific IPs directly through their assigned ports (starting from 8001).
To use a particular IP consistently, simply send requests to the same port number. For automatic rotation across your dedicated IP pool, use port 8000.
In the case of Web Unblocker, the session ID parameter has to be passed as a header, for example, "X-Oxylabs-Session-Id": "123randomString".
Visit our documentation to learn more and see code samples.
Last updated
Was this helpful?
Was this helpful?

