For the complete documentation index, see llms.txt. This page is also available as Markdown.

會話管理

會話管理控制代理 IP 的更換頻率,直接影響帳號安全、爬蟲效率及業務穩定性。移動代理支持兩種會話模式:輪換會話粘性會話

lightbulb-exclamation-on


輪換會話

無需額外參數,每次請求自動更換 IP。

示例:

curl -x host:port -U "username-zone-roam-region-uk:password" ipinfo.io

粘性會話

在指定時間內(1-120分鐘)保持同一 IP 不變。

示例:

curl -x host:port -U "username-zone-roam-region-uk-session-4452cc881deb-sesstime-10:password" ipinfo.io
字段
說明

session

固定前綴,表示啟用粘性會話。

會話標識

任意字符串(如 4452cc881deb)。同一標識的請求將被分配到相同 IP。

sesstime

固定前綴,指定粘性時長

分鐘數

1–120 之間的整數(如 10),表示 IP 保持不變的分鐘數。超時後 IP 可能更換。

最后更新于