Custom sticky session length

Guide by Thomas Vinke

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 > 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 > Endpoint generator page:

Sticky proxies generated on our dashboardSticky proxies generated on our dashboard

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:

user-SPusername-sessionduration-1

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.