Custom sticky session length

The proxy duration can be specified using parameters or a predefined session type.

Sticky proxies

Smartproxy sticky sessions allow a proxy IP address to persist for up to 24 hours (1440 minutes) before it's rotated to a different IP address.

  • The default sticky session time is 10 minutes.
  • You can generate sessions for up to 30 minutes in your dashboard, on the Proxy setup page from a drop-down menu.
  • Longer sessions potentially lasting up to 24 hours can be manually set with a custom session.

Dashboard proxy list generation

To generate a list, navigate to the Dashboard → Proxy setup section.

  • You can select between 1, 10, or 30-minute sessions on the Proxy setup page from a drop-down menu:
Sticky session type selection.

Sticky session type selection.


Custom session duration

You can use the sessionduration parameter together with the proxy username to extend the length of a session up to 24 hours (1440 minutes). Check out the backconnect guide for a more in-depth review of how to use the sticky session parameter.

  • The sessionduration parameter accepts any integer (minute) value between 1 and 1440.
  • A 1440-minute duration is the longest possible proxy session.

🚧

Premature rotation

The longer the session you have, the more chances there are that the IP will rotate before your specified time due to the residential device at the end going offline.


An example of a proxy using a 90-minute sticky session parameter next to the proxy username:

user-SPusername-sessionduration-90

SPusername – the username used for proxy authentication.


A cURL example with a 90-minute long session duration:

curl -U 'user-SPusername-sessionduration-90:SPpassword' -x gate.smartproxy.com:7000 ip.smartproxy.com