Session Management

Session Type

1024Proxy’s Unlimited Traffic & Bandwidth Plans offer two session modes to control how proxy IPs are assigned and used:

  • Sticky IP Session

  • Rotating IP Session

Different session types are suitable for different business scenarios. Choosing the right session mode can significantly improve stability, success rate, and account security.

Sticky IP Session

A Sticky IP session means that the same IP address is assigned and used throughout a single session cycle. As long as the session does not expire or is not manually disconnected, all subsequent requests will continue to use the same IP.

With 1024Proxy, the sticky session duration can be set from 1 to 120 minutes, allowing a single IP to remain fixed for continuous requests during that period.

Key Features

  • ✅ IP remains unchanged during the session validity period

  • ✅ User behavior appears more like that of a real user

  • ✅ Reduces risk control issues caused by frequent IP changes

  • ✅ Ideal for scenarios requiring login or continuous operations

Use Cases

  • Account login and long-term online operations (1–120 minutes; for longer-term operations, choose Long-Term Static ISP IPs)

  • Social media account management (login, browsing, posting) (1–120 minutes; for longer-term operations, choose Long-Term Static ISP IPs)

  • Cross-border e-commerce store backend management (1–120 minutes; for longer-term operations, choose Long-Term Static ISP IPs)

  • Businesses that need to maintain cookies or session states

  • Continuous request tasks in automation scripts

Usage Recommendations

  • Use an appropriate session duration based on your needs

  • Avoid high-frequency or abnormal behavior under the same IP

  • If an IP becomes abnormal, manually start a new session to obtain a new IP

Rotating IP Session

A Rotating IP session automatically assigns a different proxy IP for each request or within very short intervals, without requiring manual switching. There is no session duration setting, and the IP cannot remain fixed for a defined period.

Key Features

  • 🔄 Automatic IP rotation for every request

  • 🔄 High utilization of proxy pool resources

  • 🔄 Effectively distributes access pressure

  • 🔄 No need to maintain session states

Use Cases

  • Large-scale web scraping and data collection

  • Search engine result scraping

  • Price monitoring and sentiment analysis

  • Public data crawling without login requirements

  • High-concurrency, short-request workloads

Usage Recommendations

  • Not suitable for scenarios requiring login or persistent sessions

  • Control request frequency to simulate real user behavior

  • Combine with country / city / ASN parameters for precise IP rotation

How to Choose the Right Session Type

Usage Requirement

Recommended Session Type

Login required / identity persistence

Sticky IP Session

High-frequency access, no login

Rotating IP Session

Social media / e-commerce accounts

Sticky IP Session

Web crawling / data collection

Rotating IP Session

Risk-control-sensitive operations

Sticky IP + reasonable request frequency

Summary

The core difference between Sticky IP sessions and Rotating IP sessions in 1024Proxy lies in whether the IP remains stable.

Users can flexibly choose or combine session modes based on their needs for stability, concurrency, and anonymity, ensuring higher business success rates while maintaining security.

Example Code

Below is an example using a Germany proxy IP, demonstrating how to set the session type by adding the parameters -sid-Config Parameters-t-num to enable timed IP rotation or automatic rotation.

Rotating IP Mode

In this mode, the IP is not fixed. A new IP is automatically assigned for each request.

HTTP(S)

SOCKS5

Sticky IP Mode

In this mode, the IP remains fixed for the configured sticky session duration.

HTTP(S)

SOCKS5

Last updated