Custom Sticky Sessions
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.
Dashboard Proxy List Generation
To generate an endpoint list, navigate to the Dashboard → Proxy setup section.
- On the Proxy setup page, you can select between
1
,10
,30
, or60
-minute sessions from a drop-down menu or specify a custom duration of up to24
hours.

Sticky session type selection.
Custom Session Duration
You can use the sessionduration
parameter together with the proxy username or a whitelisted IP to extend the length of a session up to 24
hours (1440
minutes).
- The
sessionduration
parameter accepts any integer (minute) value between1
and1440
. - 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 mobile device at the end going offline.
Multiple Concurrent Sticky Sessions
Adding the session
variable to the proxy username or using a whitelisted IP will allow the proxy IP address to persist for multiple requests.
Different session parameter values are used to differentiate between active sessions and behave just like the different sticky proxy ports with our country endpoints.
session-1
session-2
Examples
Username
A cURL
example using a 90
-minute long sessionduration
parameter used with a proxy username and session
ID to allow the IP address to persist for multiple requests:
curl -U "user-SPusername-session-example1-sessionduration-90:password" -x "gate.smartproxy.com:7000" "ip.smartproxy.com"
Whitelisted IP
A cURL
example using a 90
-minute long sessionduration
parameter used with a Whitelisted IP and session
ID to allow the IP address to persist for multiple requests:
curl -x https://session-example1-sessionduration-90.gate.smartproxy.com:7000 https://ip.smartproxy.com
Check out the backconnect guide for a more in-depth review of how to use a sticky session with
sessionduration
andsession
parameters.
Support
Need help or just want to say hello? Our customer support is available 24/7. You can also reach us anytime via email at [email protected].
Updated 6 days ago