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

# 会话类型

> 住宅代理粘性和轮换会话类型

## 粘性端口

要选择粘性**会话类型**，请导航至[**代理设置**](https://dashboard.decodo.com/residential-proxies/proxy-setup)部分并使用下拉菜单。

一旦您与粘性端口建立第一次连接，IP地址将在指定的持续时间内保持不变，无论发出多少请求。

<Note>
  **住宅**端点在仪表板下拉菜单中有四个选项：**1**、**10**、**30**或**60**分钟。您还可以手动指定最长**24小时**的自定义持续时间。

  * 您可以更改**端口**或**会话ID**以提前轮换IP。
</Note>

<img src="https://mintcdn.com/decodo/7Hj3tfc-1rGMirwk/images/docs/bd0ed4771f9bd6b393340f2f13391209afde4b8d6e517855276b9ef3f9c211b7-Group_427322961.png?fit=max&auto=format&n=7Hj3tfc-1rGMirwk&q=85&s=e2ad717f5e6381b8fafc7c8688f9c12e" className="mx-auto" width="3452" height="1708" data-path="images/docs/bd0ed4771f9bd6b393340f2f13391209afde4b8d6e517855276b9ef3f9c211b7-Group_427322961.png" />

<Note>
  ### 自定义粘性会话

  您可以使用`sessionduration`参数手动设置**1**到**1440**之间的任何**整数**值的自定义粘性会话持续时间。您可以在[**自定义粘性会话**](https://help.decodo.com/docs/cn/residential-proxy-custom-sticky-sessions#/)页面上了解更多信息。
</Note>

<Warning>
  ### 提前轮换

  会话时间越长，由于末端的住宅设备离线，**IP在您指定的时间之前轮换**的可能性就越大。
</Warning>

***

## 轮换端口

要选择轮换**会话类型**，请导航至[**代理设置**](https://dashboard.decodo.com/residential-proxies/proxy-setup)部分并使用下拉菜单。

<Note>
  如果您选择**轮换**端口，端点将在每个代理请求时轮换IP。

  * 每次加载相同页面或不同页面时都会分配一个新的代理IP。
</Note>

<img src="https://mintcdn.com/decodo/eRLuBYAbadfvmqDE/images/docs/199e860e1ca2f6e017f077898fe8a6bf2eea6e9a014ebc2a589a943646f4a922-Group_427322963.png?fit=max&auto=format&n=eRLuBYAbadfvmqDE&q=85&s=f430ff26d6a6c7256fbaeee7044dadc8" className="mx-auto" width="3452" height="1708" data-path="images/docs/199e860e1ca2f6e017f077898fe8a6bf2eea6e9a014ebc2a589a943646f4a922-Group_427322963.png" />

***

<Columns cols={2}>
  <Card title="支持" href="https://direct.lc.chat/12092754" cta="让我们聊聊！">
    需要帮助或只是想打个招呼？我们的支持团队全天候为您服务。 \
    您也可以随时通过电子邮件 [support@decodo.com](mailto:support@decodo.com) 联系我们。
  </Card>

  <Card title="反馈" href="mailto:feedback@decodo.com" cta="分享反馈">
    找不到您要找的内容？请求一篇文章！ \
    有反馈意见？分享您对我们如何改进的想法。
  </Card>
</Columns>
