# Sticky Proxies

Sticky residential proxies allow you to keep the same IP address for a longer period of time by using a session. This is useful when you need consistency, such as staying logged into an account or maintaining the same identity across multiple requests.

{% hint style="info" %}
Since our IPs come from real residential devices, peers can disconnect at any time. This is normal behavior in residential networks. To keep your connection running smoothly, we automatically assign another IP from the same subnet if a peer disconnects.&#x20;
{% endhint %}

**Average online time**

Sticky Residential IPs typically remain online for 4 to 12 hours.\
This duration is an estimate and may vary depending on the availability of the residential peer, as connections can change dynamically.

**Establishing session**

To keep the same IP across multiple requests, you can use the session ID parameter. This parameter links your requests to a single IP for as long as the session remains active.

To reuse an IP, add the `session` parameter to your username with a randomly generated value between 0 and 999,999.

**Example:**\
`session-298366`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.plainproxies.com/proxies/residential-proxies/sticky-proxies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
