> ## 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.

# Regular Residential (rp.scrapegw.com) - Sticky sessions

> Configure sticky sessions for Regular Residential proxies on the rp.scrapegw.com host.

This guide covers **Regular Residential** proxies, which use the `rp.scrapegw.com` host. (For the Unlimited Residential package, see the [Unlimited Residential proxies overview](/proxies/unlimited-residential/overview).)

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)

The last example combines a sticky session with country targeting — add the `-country-xx` string before the session string. For the full list of country codes, see [Regular Residential (rp.scrapegw.com) - Country targeting](/proxies/residential/country-targeting).

> 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.
