Session Control
ABCProxy provides different session types that affect the username format in your generated proxy list. The session type determines how IP addresses are managed and how the authentication username is structured.
How Session Types Affect IP Format
When you select different session types, the system automatically generates usernames with specific session-related prefixes. This helps you identify and manage proxies based on their session behavior.
Session Type Options
1. Rotating Session (Default)
- Format:
user-{username}-region-{country} - Example:
user-john-region-US - Description: Each request uses a new IP address. No session-specific prefixes are added to the username.
2. Sticky Session
- Format:
user-{username}-region-{country}-session-{sessionId}-sesstime-{minutes} - Example:
user-john-region-US-session-abc123-sesstime-30 - Description: Maintains the same IP for a specified duration. Includes session ID and session time in the username.
Session Type Selection Process
Step 1: Choose Session Type
- Select between Rotating and Sticky session types
- The username format will automatically adjust based on your selection
Step 2: Configure Session Duration (Sticky Only)
- If you select Sticky Session, set the session duration in minutes
- Duration Range: 5 to 90 minutes
- The system will generate a unique session ID
- The username will include both session ID and duration
Examples
Example 1: Rotating Session
Session Type: Rotating
Country: United States
State: CaliforniaGenerated Username: user-john-region-US-st-California
Example 2: Sticky Session (30 minutes)
Session Type: Sticky
Session Duration: 30 minutes
Country: United States
State: CaliforniaGenerated Username: user-john-region-US-st-California-session-abc123-sesstime-30
Example 3: Sticky Session (60 minutes)
Session Type: Sticky
Session Duration: 60 minutes
Country: United Kingdom
City: LondonGenerated Username: user-john-region-UK-city-London-session-def456-sesstime-60
Session Type Benefits
Rotating Session
- High Anonymity: Each request uses a different IP
- Large Scale: Suitable for massive data collection
- Detection Avoidance: Reduces risk of being blocked
- Simple Format: Clean username without session parameters
Sticky Session
- Session Persistence: Maintains same IP for specified duration
- Login Support: Ideal for websites requiring login
- Shopping Carts: Perfect for e-commerce scenarios
- Form Completion: Suitable for multi-step processes
- Session Tracking: Easy to identify and manage specific sessions
Session Management
Session ID Generation
- Each sticky session gets a unique session ID
- Session IDs are automatically generated by the system
- Format: Alphanumeric string (e.g.,
abc123,def456)
Session Duration
- Set in minutes (e.g., 30, 60, 90 minutes)
- Minimum Duration: 5 minutes
- Maximum Duration: 90 minutes
- Session expires after the specified time
- New session ID generated for each new sticky session
Session Tracking
- Use session ID to track specific proxy sessions
- Monitor session performance and usage
- Debug issues with specific sessions
Important Notes
Session Limitations
- Sticky Session Duration: Minimum 5 minutes, maximum 90 minutes
- Session IDs are unique and cannot be reused
- Rotating sessions have no duration limits
Username Length
- Sticky session usernames are longer due to session parameters
- Ensure your applications can handle the extended username length
- Consider username length when choosing session types
Session Persistence
- Sticky sessions maintain the same IP throughout the duration
- Rotating sessions change IP with each request
- Choose based on your specific use case requirements
Best Practices
For Rotating Sessions
- Use for Scraping: Ideal for data collection tasks
- High Volume: Perfect for large-scale operations
- Anonymity: Best for scenarios requiring maximum anonymity
- Simple Management: Easier to manage without session tracking
For Sticky Sessions
- Login Scenarios: Use for websites requiring authentication
- Shopping Carts: Perfect for e-commerce testing
- Form Completion: Ideal for multi-step processes
- Session Tracking: Monitor specific sessions for debugging
Troubleshooting
Common Issues
Session not persisting:
- Verify you selected "Sticky Session"
- Check that session duration is set correctly
- Ensure session ID is included in username
Session expired:
- Check session duration settings
- Generate new session for continued use
- Monitor session time remaining
Username too long:
- Consider using shorter base usernames
- Reduce location specificity if needed
- Check application username length limits
Session ID issues:
- Verify session ID format in username
- Check that session ID is unique
- Contact support if session ID conflicts occur
