# How long does a sticky session last?

> How long does a sticky session last? Until the seller's timer, its idle limit or the device behind the IP ends it. Oxylabs defaults to 10 minutes.

Source: https://mosaicbrowser.com/guides/how-long-does-a-sticky-session-last

## How long does a sticky session last?

A sticky session lasts until the first of three things ends it: the seller's timer, its idle limit, or the real device behind the IP going offline. Oxylabs defaults to 10 minutes, extendable to 1,440; Bright Data keeps an idle session 5 minutes; IPRoyal accepts 1 second to 7 days.

![10 min: Oxylabs' default sticky session, beside a screenshot: a proxy provider in Mosaic: one proxy line that gives every profile a separate session](https://mosaicbrowser.com/covers/how-long-does-a-sticky-session-last.webp)

How long does a sticky session last? There is no single figure, because three separate clocks run on every sticky session and the first one to run out ends it. The seller's timer is the one you set. The idle limit ends a session that has gone quiet. And the home or phone the IP belongs to can drop off the network at any moment. A residential IP is a real device, and Oxylabs' documentation says as much: a sticky session keeps the same IP "as long as the IP is online".

## How long a sticky session lasts at each seller

Read from each seller's own documentation on 2 November 2026:

| Seller | Default | Longest you can ask for | Idle limit | How you set it |
| --- | --- | --- | --- | --- |
| Oxylabs | 10 minutes | 1,440 minutes (24 hours) | 60 seconds without a request, on the default session | `sessid-` plus `sesstime-` in the username |
| Bright Data | while the session is used | not given as a figure | 5 minutes idle | `-session-` in the username |
| IPRoyal | set by you | 7 days (minimum 1 second) | not given as a figure | `_session-` plus `_lifetime-` in the password, one unit, such as `10m` |

Sources: [Oxylabs session control](https://developers.oxylabs.io/products/proxies/residential-proxies/session-control), [Bright Data residential FAQ](https://docs.brightdata.com/products/residential/faqs), [IPRoyal rotation docs](https://docs.iproyal.com/proxies/residential/proxy/rotation).

Bright Data suggests a small keep-alive request every 30 seconds if you need a session to outlast quiet periods.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: A new IP for every profile](https://mosaicbrowser.com/features/proxy-providers)

## The lines Mosaic has seen

Six sellers in Mosaic's table have line formats we read off real lines rather than documentation. Here are four of them, with the duration token on the captured line and the value each seller's own dashboard put there:

| Seller | Duration token | Value on the captured line |
| --- | --- | --- |
| Geonode | `-lifetime-` | 120 minutes |
| Proxiware | `-ttl-` | 120 minutes |
| IP Oasis | `-sessTime-` | 30 minutes |
| Thordata | `-sesstime-` | 30 minutes |

These are dashboard defaults, not limits we measured by holding sessions open. A seller may accept more; its own documentation is the place to check.

## What happens when a sticky session ends

This matters more for an account than the length does. Most sellers fail over quietly: Oxylabs assigns a new IP automatically when a session ends, and Bright Data answers `502 - No peers available` once and then gives the same session id a new peer, "even if you do not change the session ID".

For a scraper that is helpful. For a signed-in account it means the IP moved, perhaps to another city, and nothing told you. Both sellers document a strict mode for when you would rather have an error. Oxylabs' `sessid_oneip` binds the session to one IP and fails with a 502 if that IP drops. Bright Data's `-const`, added beside `-session-`, stops failover and returns the error instead ([Disable peer rotation](https://docs.brightdata.com/api-reference/proxy/keep_same_peer_in_session)).

## Choosing a length

For an account, ask for the longest session the seller supports and accept that the device may still go away sooner. A long session that ends early costs one new IP; a short one costs a new IP every few minutes. The account should also keep to one area when the IP does change, which is why the session's place matters as much as its length: [how to choose a proxy location for an account](https://mosaicbrowser.com/guides/choose-a-proxy-location-for-an-account) covers that half. For one-off page loads, rotation without a session is simpler, and [rotating vs sticky proxies](https://mosaicbrowser.com/guides/rotating-vs-sticky-proxies) sets the two side by side.

## Setting the length in Mosaic

1. Save the seller under Proxies › **Add provider** by pasting one proxy line.
2. In a profile, pick that provider as the **Connection › Source**. If the seller's line has a word for duration, a **Session holds for** slider appears, from 1 to 120 minutes. Mosaic writes the value in the seller's own spelling; the API and MCP accept up to 1,440.
3. Pick a seller with no duration word and the field is not offered; a duration sent over the API anyway is refused by name, never written in a form the gateway would ignore.

![A proxy provider in Mosaic: one proxy line that makes a separate session for every profile](https://mosaicbrowser.com/shots/provider-mint.png)
*What a provider can be asked for, duration included*

Each profile keeps its own session id between launches, made from the provider so that no two profiles share one; [one proxy per browser profile](https://mosaicbrowser.com/guides/one-proxy-per-browser-profile) explains why that matters. Before each start Mosaic checks the proxy and, by default, sets the profile's timezone and language from the IP it finds, so a session that moved overnight does not leave the profile claiming the old city. A profile's session that reaches nothing is replaced with a new one rather than retried, and a session you pinned by hand is never moved. The sellers Mosaic reads, and which of them we have run against live lines, are on [the proxy providers page](https://mosaicbrowser.com/features/proxy-providers).

## Sources

1. [Oxylabs Developers: Residential proxies session control](https://developers.oxylabs.io/products/proxies/residential-proxies/session-control), read November 2, 2026
2. [Bright Data Docs: Residential products FAQ](https://docs.brightdata.com/products/residential/faqs), read November 2, 2026
3. [Bright Data Docs: Disable peer rotation](https://docs.brightdata.com/api-reference/proxy/keep_same_peer_in_session), read November 2, 2026
4. [IPRoyal Docs: Residential proxy rotation](https://docs.iproyal.com/proxies/residential/proxy/rotation), read November 2, 2026

## Questions

### Why did my sticky session change IP early?

Usually because the device behind the IP went offline. Oxylabs keeps a session on one IP only while that IP is online, and Bright Data gives the same session id a new peer after a 502, so the address can move before your timer ends.

### Can I keep the same IP for a whole day?

You can ask for it. Oxylabs accepts up to 1,440 minutes and IPRoyal up to 7 days. Whether you get it depends on the home connection behind the IP staying online, which nobody can promise.

### What is the idle timeout?

A limit on how long a session survives with no traffic. Oxylabs ends a default session after 60 seconds without a request and Bright Data releases the IP after 5 minutes idle, so a profile left open with nothing loading can lose its IP.

### Does closing the browser end the sticky session?

Not by itself. The session lives at the seller and is named by the id in your line. Reopening with the same id inside its lifetime usually gets the same IP, if the device is still online.

## Related

[Rotating vs sticky proxies: which one an account needs](https://mosaicbrowser.com/guides/rotating-vs-sticky-proxies): Rotating vs sticky proxies: rotating changes the public IP per connection, sticky keeps one for a session you name. Logged-in accounts need sticky.

[One proxy per browser profile: why the sessions must differ](https://mosaicbrowser.com/guides/one-proxy-per-browser-profile): One proxy per browser profile means one IP per profile. With a residential seller that means one session id each, or two profiles share an address.

[The best residential proxies for multiple accounts](https://mosaicbrowser.com/compare/best-residential-proxies-for-multiple-accounts): Residential sessions last minutes or hours; accounts last months. The best residential proxies for multiple accounts hold a session long and fail loudly.

[How to choose a proxy location for an account](https://mosaicbrowser.com/guides/choose-a-proxy-location-for-an-account): How to choose a proxy location for an account: where it really lives, meaning its owner, its business and where it signs in. Then keep it there.

[Provider accounts: one proxy line, one IP per profile](https://mosaicbrowser.com/features/proxy-providers): Paste your proxy seller's line once and Mosaic makes a separate session for every profile, so each one browses from its own IP address.

[Check the proxy before launching a browser profile, every time](https://mosaicbrowser.com/features/proxy-check-before-launch): Mosaic checks the proxy before launching a browser profile: it must answer and carry HTTPS. If it does not, nothing opens and the error names the proxy.





## Run this guide on your own accounts

Every Mosaic profile is a fingerprint, a proxy IP and a cookie jar that agree with each other, kept on your computer. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
