Custom Session ID and Lifetime
Our residential proxy service offers a feature that allows you to set and control sticky sessions by adding a custom Session ID and Lifetime via the username in your curl commands. This means that you can now hold multiple sticky sessions on the same port, whereas previously one port equaled one session.
To use this feature, you will need to use your default username (e.g. geonode_user123
) and password (secret-pass55
) in your curl commands. Here are some examples of how to customize your sticky sessions:
-
Step 1: To create a new sticky session at port
10000
using your default username:Request
GETcurl -x geonode_user123:secret-pass55@private-residential.geonode.com:10000 http://ip-api.com/json
-
Step 2: To create a new sticky session at port
10000
by adding a custom Session ID:Request
GETcurl -x geonode_user123-session-someRandomString:secret-pass55@private-residential.geonode.com:10000 http://ip-api.com/json
-
Step 2: To specify the lifetime of your sticky session, add
-lifetime-(session lifetime in minutes)
to the username:Request
GETcurl -x geonode_user123-session-someRandom