What is Cookie Jar?
Cookie jar is the stateful storage mechanism within an HTTP client that intercepts, stores, and automatically attaches Set-Cookie headers across sequential requests. In web scraping, it is the fundamental component for maintaining session continuity behind login walls and navigating multi-step flows. If your cookie jar leaks state across concurrent proxy sessions or fails to handle domain-scoped attributes correctly, your scraper will immediately trigger anti-bot defenses or cross-session contamination.