Afina

Download app

AppleWindows
EN
BlogGuides and Tutorials

December 1, 2026

Proxmint Sticky Residential Sessions in Afina: Keeping One Assigned IP per Profile

Dock pins an exit IP to a browser profile

An antidetect browser isolates its profiles. Each has its own digital fingerprint, cookies, and local storage, which it retains between launches. The proxy supplies the exit IP address. A residential proxy routes the traffic through a home internet connection.

That difference can trigger an extra check when you sign in again. You used one address an hour ago, and now the site sees a different city or a new IP every time a page loads. Using the Proxmint residential gateway and Afina Browser, we'll look at how long a profile can keep one address, what happens when you reopen it, and how to check or replace the IP on your schedule. The same principle applies to other residential proxy providers.

What a sticky residential session is

A sticky residential session keeps one exit IP for a set period while the home connection remains available. In rotating mode, the gateway can supply a new address for each request, which is useful for data collection. Frequent IP changes while you're working in an account can trigger extra checks. For more on the difference, see our comparison of static ISP and residential proxies.

In Proxmint, the proxy login itself contains the sticky session parameters. You can use the login directly without toggling a separate setting in the dashboard. A login for one Afina profile might look like this.

PROXY_USER__cr.us;city.newyork;sessid.af01;sessttl.120
ComponentExampleWhat it sets
LoginPROXY_USERYour proxy login. Two underscores separate it from the first parameter
Countrycr.usThe exit address must be in the United States
City (optional)city.newyorkLimits the pool to one city. The standard residential plan counts this traffic at 2×
Session IDsessid.af01A combination of letters and digits that pins an IP for the session. A new ID starts a separate session and may receive the same IP
Session lengthsessttl.120How long to keep the IP, from 1 to 120 minutes

Semicolons separate the login parameters. The password stays the same across connection strings, so one set of credentials works for different profiles and countries. Each profile's proxy string sets its country, city, and session.

How long a profile keeps its IP address

A profile keeps its IP while the session is active and the device carrying its traffic is available. Check both conditions when planning work that requires one address.

  1. the duration you set. The sessttl parameter accepts values from 1 to 120 minutes. The timer starts with the first connection in the session. During that window, connections using a login with sessid.af01 use the same exit IP while it remains available. When the TTL expires, the previous IP assignment ends. The next connection gets an address from the pool with the same country and city settings, and the pool may assign the previous IP again

  2. availability of the home connection. A device on a home network provides the residential address. If it disconnects, the gateway selects another address for the next connection using the same geographic targeting. Even with sessttl.120, allow for an IP change before the two-hour mark

If you include sessid without sessttl, the rotation interval in your Proxmint product settings applies. Include the duration in each string so you can see it in the profile's proxy login.

Choosing a session length

Base the duration on one work session. A quick account check and an hour of editing product listings call for different intervals.

Profile taskSuggested sessttlWhy
Read messages or confirm an order quickly30Leaves time to spare for a short visit. The next visit starts a new session once the interval ends
Publish content, edit listings, or run a workflow60 or 90Covers the work session as long as the exit device stays online
Run a longer warm-up or automation job120The maximum interval. Plan to check the IP again after two hours

Long concurrent sessions can occupy the available addresses in a small pool. When the pool runs out, new sessions may have to wait for earlier ones to end. For login syntax and the full list of settings, see Proxmint's session parameters documentation.

Setting up Afina: one proxy string per profile

Use one session ID per profile. If two profiles use the same credentials, sessid, and geographic targeting, they may get the same exit IP during an active session. The exact behavior depends on how Proxmint binds sessions.

For a single profile, paste the full connection string in the Proxies/VPN panel. Afina parses it and fills in the appropriate fields.

  1. open Profiles in the left menu, switch to the Profiles tab at the top, and click Create profile. If the profile already exists, open it for editing

    Profiles section and Create profile button in Afina
  2. enter the profile name in the Name field on the General tab

  3. click Proxies/VPN on the General tab to open the proxy settings panel

    Proxies/VPN field on the General tab in Afina
  4. select the Proxies/VPN tab in that panel and paste the full connection string into the field that shows the expected format

    Connection string field in the Proxies/VPN panel
    gw.proxmint.com:823:PROXY_USER__cr.us;city.newyork;sessid.af01;sessttl.120:PROXY_PASS
    
  5. confirm that HTTP is selected, Host reads gw.proxmint.com, and Port reads 823

  6. confirm that Login contains the full login with session parameters and Password contains your Proxmint password. Leave Change IP URL blank. The Proxmint session determines the exit IP

  7. click Check proxy to test the connection

    HTTP proxy credentials and Check proxy button
  8. wait for Check completed successfully, then check the country and record the exit IP

    Successful HTTP proxy check with the IP address obscured
  9. click Save below the test result to save the proxy, then click Save in the lower-right corner to save the profile

    Separate Save buttons for the HTTP proxy and profile
  10. launch the profile with Start and compare the exit IP in the browser with the Check proxy result

  • Start button beside a profile in the Profiles table

You can add proxies for several existing profiles as a list and assign them in one pass. Each string has its own login parameters. In this example, the first two profiles use New York and the third uses London.

  1. open the Proxies/VPN tab at the top, click … beside Add proxy/VPN, and select Bulk creation

    Bulk creation in the Add proxy/VPN menu
  2. in Bulk add proxies, paste one host:port:login:password string per profile into the Proxies field

    gw.proxmint.com:823:PROXY_USER__cr.us;city.newyork;sessid.af01;sessttl.120:PROXY_PASS
    gw.proxmint.com:823:PROXY_USER__cr.us;city.newyork;sessid.af02;sessttl.120:PROXY_PASS
    gw.proxmint.com:823:PROXY_USER__cr.gb;city.london;sessid.af03;sessttl.120:PROXY_PASS
    
    Bulk proxy import window with the Add Proxy button
  3. review the parsed fields in the table and click Add Proxy. You can add each profile's name and country in the Remark column

    Profile note in the Proxies/VPN table's Remark column
  4. return to Profiles, select the relevant rows, and choose Proxy → Change proxy from the bottom toolbar

    Selected profiles and Change proxy in the bottom toolbar
  5. in Assigning Proxies to Accounts, turn on Hide used proxies to hide entries that already have assignments

    Hide used proxies enabled above the proxy list
  6. drag each proxy from the list on the right to its profile on the left. Check the assignments and click Save changes

    Dragging a proxy to its assigned profile
  7. check the entry in each profile's Proxy column. Hide used proxies filters entries in Afina. To verify the actual addresses, launch the profiles and check each exit IP

For one existing profile, you can also open General → Proxies/VPN, select a saved proxy, and click Save. Name sessions after their profiles, such as af01 for profile 01, so you can find the right entry quickly.

Saved proxies in an Afina profile's Proxies/VPN panel

For SOCKS5, use port 824. Paste socks5://login:password@host:port in the profile, and use socks5://host:port:login:password in the bulk import window.

Proxmint SOCKS5 carries TCP traffic only. To disable WebRTC when your workflow calls for it, open Fingerprint in the profile and select Always block in the WebRTC field.

Fingerprint tab with WebRTC set to Always block

The diagram below shows four profiles using one Proxmint gateway. The first two use the same city and session duration. The first exits through 203.0.113.24 with sessid.af01, and the second through 198.51.100.77 with sessid.af02. The IP addresses are examples.

Individual Proxmint session IDs and exit IPs for Afina profiles

In the current Afina interface, the Only unused proxies filter shown in the diagram is called Hide used proxies.

What happens when you reopen a profile

Afina keeps the profile's cookies and local storage between launches. The IP you get when you reopen it depends on whether the Proxmint session is still active and whether its home connection is available.

  • within the session window. A session with sessttl.120 starts at 09:00 and is due to run until 11:00. You close the profile at 09:40 and reopen it at 10:15. If the connection is still available, the same sessid returns the same address. The site also receives the saved cookies
  • after the session ends. You reopen the profile at 14:00. The cookies are still there, and the previous session has expired. The same sessid may get a different address in the selected country and city, or the pool may assign the previous IP again. Home internet providers sometimes change their subscribers' addresses, so a site may treat a different IP in the same city as routine. A change of country may trigger another check

Closing the profile at 09:40 leaves the timer running. By 10:15, one hour and 15 minutes have elapsed, leaving 45 minutes in the window. You can keep the same end time in your log even if you restart the browser several times.

The exit location also affects two Afina profile settings.

  • time zone and language by IP. Open Fingerprint in the profile and select By IP for Timezone and Languages. Set Interface language separately. Pinning a city, for example with city.newyork, helps keep the time zone consistent between sessions

    Fingerprint settings with Timezone and Languages set By IP
  • blocking launches on a proxy country change. The global Block on proxy country change setting prevents a launch if the proxy country changes and the profile follows that rule. Including cr. in each login keeps the exit in your chosen country

If you also need to stay on one provider's network, use asn. to limit addresses to that autonomous system. It narrows the pool and uses the same traffic multiplier as city targeting on the standard residential plan.

Timeline of a profile's IP assignment before and after TTL

If Afina reopens saved tabs at launch, those sites can receive requests before your first action. To check the connection first, set a startup page for the profile that points to an IP checker. Open the work dashboard manually after checking. This also helps when handing the profile to a colleague, who can verify its route before starting work.

How to check which IP a profile uses

Check from inside the running profile. That shows the browser's actual exit IP and lets you compare it with Afina's earlier check.

  1. launch the profile and open an IP checker before you sign in to an account. Whoer and Proxmint's What Is My IP are both options. Proxmint's checker shows the address, country, city, and ASN
  2. compare the country with cr. and the city with city. if you set it. Check that the profile's time zone matches the location
  3. log the result in your own table or in the proxy's Remark column on the Proxies/VPN tab

Calculate the expected end time from the first connection using the configured TTL. The table uses documentation addresses.

ProfileSession IDIP addressCheck timeEnd of session window
Account 01af01203.0.113.24 (New York)09:0211:00
Account 02af02198.51.100.77 (New York)09:0511:03

In this example, the team checks the first profile's address at 09:02. If the session began at 09:00 with a 120-minute TTL, the expected end time is still 11:00. Record the check time and end time in separate columns as shown in the table.

If the address changes before the expected end, the home device may have stopped responding and the gateway may have picked another. In the diagram above, this happens to profile 02 at 10:20 while the browser is still open. Log the change and check the country and city against your proxy settings.

How to replace an IP on your schedule

A planned replacement makes sense when a site rejects the current address, the location is wrong, or you need a different IP for the next work session. As long as the session is active, another request under the same login may return the address the site already rejected.

Make the change between work sessions. If the address changes while you sign in or check out, the site may ask you to verify again.

  1. close the profile to end the current work session

  2. update the connection string in the profile. Open General → Proxies/VPN in the profile settings and paste the full string with the updated login. Change only the session ID, for example from sessid.af01 to sessid.af01r2. Keep the country, city, and session length

    Proxies/VPN field for a connection with a new session ID
  3. check and save the connection. Click Check proxy and review the result. Click Save in the proxy panel and then Save in the profile settings

    Proxy check result and both Save buttons
  4. launch the profile with Start and check its exit IP. Compare it with the previous address and log the result, date, and reason for the change

  5. check how the next session goes. If the site rejects the connection again, review the account status, profile settings, and what you do in the profile before changing sessid again

The new ID takes effect with the next connection, so you can choose when to start a separate session. A new sessid may receive the same address from the pool again. Check the actual IP after changing the ID. If it stays the same, ask Proxmint how it handles IP reassignment. After the TTL expires, the old ID can also start a new session, and the pool may supply either the previous IP or a different one.

Steps to close a profile and verify its replacement IP

The diagram shows the edit in the main proxy table. To update a single profile, use the General → Proxies/VPN path described above.

Example setup: four seller accounts before and after

A small team manages four seller accounts on a marketplace, each in its own Afina profile. The team switches from one shared rotating proxy string to separate sticky sessions.

Before. All four profiles use the same rotating string with cr.us. Requests can exit from different addresses in the United States, so the site asks for an email sign-in code more often. Two profiles may sometimes receive the same exit address at once.

After. Each profile gets a string with city.newyork or city.chicago and its own ID, from sessid.af01 through sessid.af04. With sessttl.90, the team has time to spare for an hour of daily work. Before starting, the team opens the profile and records the verified IP. When the site rejects the IP for af03, the team closes that profile, switches to af03r2, and checks the resulting address before the next work session. Session IDs incur no separate fee because billing depends on traffic volume. Costs change in this example because the plan counts city-targeted traffic at 2×.

Getting started

Afina lists the residential proxies used in this example on its Proxmint partner page.

Use the promo code AFINA10 to get 10% off one Proxmint order from $10, one use per account. The code has no expiry date.

To set up a sticky session for your profile, see the Afina proxy setup guide for sample credentials and connection strings for bulk proxy imports.

Download

FAQ — Frequently Asked Questions

How long can a sticky session keep one IP?

Up to 120 minutes, depending on the sessttl value in the login. If the home device disconnects earlier, the next connection gets another address with the same geographic targeting.

Can an Afina profile keep the same IP for several days?

Use a static or dedicated IP to keep one address for days or weeks. A sticky residential session lasts up to 120 minutes, and you can keep the same country, city, and provider network between sessions if needed.

What happens if two profiles use the same session ID?

With identical credentials, sessid, and geographic targeting, both profiles may use one IP during an active session. Proxmint's binding rules determine the result, and a site may associate those visits, so use a separate sessid for each profile and enable Hide used proxies during bulk assignment.

Should I use HTTP or SOCKS5 in Afina?

Both protocols work in Afina. HTTP on port 823 tunnels HTTPS, SOCKS5 on port 824 carries TCP only, and the profile controls WebRTC.

Do new session IDs cost extra?

Billing depends on gigabytes used, so new session IDs carry no extra fee. The standard residential plan counts traffic targeted by city, state, postal code, or ASN at 2×.

Why did the time zone change after I reopened my profile?

If Timezone is set to By IP on the Fingerprint tab, a new session may get an address in another time zone after the previous one ends. Add city. to the login to pin the city.

Related terms

Continue reading onAnti-detect browser — profile isolation | Afina Browser
Kirill Kucheniev Polodiyenko

Hi! I’m Kirill Kucheniiev-Polodiienko — Technical Product Manager (Automation) on the Afina team.