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

# How does the Sticky session work?

> Sticky holds one IP for up to 24 hours. Duration limits, how to get a new IP, and when to use it.

A Sticky session keeps you on the same IP for up to 24 hours. It is the default for Residential and Mobile proxies.

<Note>
  ISP proxies do not use session types. Those IPs never rotate.
</Note>

## What it does

| **Holds one IP** | For up to 24 hours |
| - | - |
| **If that IP goes offline** | You get a new one from the same location |
| **Your location settings** | Stay the same |

<Warning>
  That last point is the difference from the **No rotating** session type, which waits for your original IP instead of giving you a new one.
</Warning>

## Setting the duration

Under **Advanced settings**, **Sticky** has two options:

| **Option** | **What you get** |
| - | - |
| **Keep IP as long as possible** (default) | The IP is held until it drops or 24 hours pass |
| **Custom** | You set the time in seconds |

![Sticky session duration options under Advanced settings](https://downloads.intercomcdn.com/i/o/yvkc0rpk/2590043284/c02009eefbd8dfe93ce9cb2d774d/image.png)

**Custom accepts 60 to 86,400 seconds.** That is 1 minute to 24 hours. Anything outside that range is rejected.

Enter seconds and the dashboard converts it. 500 becomes `-ttl-8m20s` in your username.

![Custom duration entered in seconds and the resulting proxy username](https://downloads.intercomcdn.com/i/o/yvkc0rpk/2590048960/d4c132b553f20ca034b6e232f13f/image.png)

## Getting a new IP

Change the session ID in your username. A new session ID means a new session, which means a new IP.

```text theme={null}
USERNAME-country-us-sid-abc123def4567-filter-medium
```

Edit any part of the `-sid-` value. Or generate a new proxy string in the dashboard, which does the same thing.

## Running several at once

Set **Proxies quantity** above 1 in the Proxy generator. Each string gets its own session ID, so each holds a separate IP.

![Proxies quantity set above 1 in the Proxy generator](https://downloads.intercomcdn.com/i/o/yvkc0rpk/2590054584/b1cedc2c113b2178d499dffe11d1/image.png)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.