Custom sticky session length

Sticky proxies

Smartproxy sticky sessions allow a proxy IP address to persist for a set amount of time before it's rotated to a different IP address.

Sticky proxies can be generated on the Smartproxy Dashboard > Proxy setup > Endpoint generator page or, if backconnect is used, specified using the session parameter.

The default session time is 10 minutes unless a different time is specified using the sessionduration parameter.

It's possible to generate one, 10, or 30 minute sessions on the Smartproxy dashboard > Proxy setup page:


Sticky proxies generated on our dashboard

Custom session duration

The session duration is specified using the sessionduration parameter used together with the username. For example, a username for a one minute proxy session would be formatted like this:


SPusername – the username used for proxy authentication.


Accepted values

The sessionduration parameter accepts any integer value between one and 30 (30 minutes is the longest possible proxy session duration).

If the sessionduration parameter is not used, the proxy session will last for 10 minutes.