> ## Documentation Index
> Fetch the complete documentation index at: https://docs.proxyscrape.com/llms.txt
> Use this file to discover all available pages before exploring further.

# rp.scrapegw.com - Residential proxy sticky sessions

> Configure sticky sessions for residential proxies via rp.scrapegw.com.

To make your residential session sticky, append the following to your username:

* -session-{id}-lifetime-{lifetimeInMinutes}

Examples:

* jeffreybezos-session-abc123-lifetime-5 (5 minute sticky session)
* elonmusk-session-1235469420-lifetime-10 (10 minute sticky session)
* billgates-country-us-session-1235469420-lifetime-15 (15 minute sticky session with United States as the country)

> Technically, there is no strict limit to how long sticky sessions can be, but the proxy's IP address can only be maintained while the node serving that IP remains online. If the node serving that IP goes offline, the proxy will rotate. We recommend using a maximum of 120 minutes.
> It is also available on the dashboard. Go to the ["Proxy Setup"](https://dashboard.proxyscrape.com/v2/services/residential/proxy-setup/) section, where you can select your desired session duration. After making your selection, appended characters will be generated at the end of your username, which you can copy and paste into your program.
