> For the complete documentation index, see [llms.txt](https://doc.sk5data.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.sk5data.com/doc/zh/faq/dai-li/lun-huan-hui-hua-he-nian-xing-hui-hua-you-shen-me-qu-bie.md).

# 轮换会话和粘性会话有什么区别？

SK5Data 动态住宅代理支持轮换会话和粘性会话两种模式。

**轮换会话**

每次请求自动分配住宅 IP，适合不需要持续使用同一 IP 的任务。

适用场景包括批量数据采集、搜索结果收集及广告验证等。

**粘性会话**

在指定时间内尽量保持使用同一个住宅 IP。

动态住宅代理支持设置 **1–120 分钟**的会话时长。

适合需要连续访问、登录状态及多步骤操作的业务场景。

**注意：** 粘性会话并不保证 IP 在任何情况下都不发生变化。当会话到期、原出口 IP 不可用或网络连接异常时，出口 IP 可能发生变化。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.sk5data.com/doc/zh/faq/dai-li/lun-huan-hui-hua-he-nian-xing-hui-hua-you-shen-me-qu-bie.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
