Tag

cookies

0 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Jun 3, 2025 · Backend Development

Using PHP's setcookie Function to Create and Manage Cookies

This article explains how PHP's setcookie function works, describes each parameter, and provides several practical code examples for setting cookies with different lifetimes, scopes, and security options, helping developers manage client‑side data effectively.

BackendSecurityWeb Development
0 likes · 5 min read
Using PHP's setcookie Function to Create and Manage Cookies
Lobster Programming
Lobster Programming
Apr 8, 2025 · Frontend Development

Understanding Cookies, Sessions, Local Storage & Session Storage: A Frontend Guide

This article explains the concepts, purposes, and trade‑offs of Cookies, Sessions, Local Storage, and Session Storage, detailing how each stores data, their security attributes, typical use cases, and the differences between client‑side and server‑side state management in web development.

HTML5cookiesfrontend
0 likes · 7 min read
Understanding Cookies, Sessions, Local Storage & Session Storage: A Frontend Guide
Python Programming Learning Circle
Python Programming Learning Circle
Oct 10, 2024 · Backend Development

Python Web Scraping Techniques: Requests, Proxies, Cookies, Headers, Captcha, Gzip, and Multithreading

This article outlines essential Python web‑scraping techniques, covering basic GET/POST requests, proxy usage, cookie handling, header manipulation to mimic browsers, simple captcha solutions, gzip compression handling, and multithreaded crawling with a thread‑pool template, providing practical code examples for each step.

Gzipcookiesmultithreading
0 likes · 5 min read
Python Web Scraping Techniques: Requests, Proxies, Cookies, Headers, Captcha, Gzip, and Multithreading
php中文网 Courses
php中文网 Courses
Sep 30, 2024 · Backend Development

How to Use PHP's setcookie Function to Set Cookies

This article explains PHP's setcookie function, detailing its syntax, parameter meanings, and providing several practical code examples for creating cookies with different lifetimes, paths, domains, and security flags, while also noting how to retrieve cookies using the $_COOKIE superglobal.

BackendPHPSecurity
0 likes · 4 min read
How to Use PHP's setcookie Function to Set Cookies
php中文网 Courses
php中文网 Courses
Sep 14, 2024 · Backend Development

Using PHP setcookie Function to Set Cookies

This article explains the PHP setcookie function, detailing its syntax, parameters such as name, value, expiration, path, domain, secure, and httponly, and provides multiple practical code examples for setting cookies with various scopes, lifetimes, and security options.

BackendPHPWeb Development
0 likes · 4 min read
Using PHP setcookie Function to Set Cookies
php中文网 Courses
php中文网 Courses
Jul 16, 2024 · Backend Development

How to Set Cookies in PHP Using the setcookie Function

This article explains the PHP setcookie function, detailing its syntax, parameter meanings, and provides multiple practical examples for creating cookies with various lifetimes, paths, domains, and security flags, helping developers effectively manage client-side data in web applications.

PHPWeb Securitybackend development
0 likes · 5 min read
How to Set Cookies in PHP Using the setcookie Function
Code Mala Tang
Code Mala Tang
Jul 8, 2024 · Information Security

Mastering SameSite Cookies: When to Use Strict, Lax, or None

Understanding the SameSite attribute lets developers control cookie transmission across sites, balancing security and usability by choosing Strict for maximum protection, Lax for a user‑friendly compromise, or None (with Secure) for cross‑site scenarios, with practical code examples and usage guidelines.

HTTPNode.jsSameSite
0 likes · 6 min read
Mastering SameSite Cookies: When to Use Strict, Lax, or None
Test Development Learning Exchange
Test Development Learning Exchange
May 17, 2024 · Backend Development

Using Python mechanize for Web Automation and Testing

The article introduces the Python mechanize library, explains its capabilities for automating web interactions such as form submission, link navigation, cookie management, and redirects, provides basic usage examples, detailed sample code for various testing scenarios, and notes its limitations compared to Selenium.

HTTPSeleniumWeb Automation
0 likes · 8 min read
Using Python mechanize for Web Automation and Testing
php中文网 Courses
php中文网 Courses
May 15, 2024 · Backend Development

How to Use PHP's setcookie Function to Set Cookies

This article explains how to use PHP's setcookie function to create and customize browser cookies, covering its syntax, parameter meanings, and practical examples such as setting expiration, path, domain, secure and HttpOnly flags.

PHPWeb Developmentbackend development
0 likes · 4 min read
How to Use PHP's setcookie Function to Set Cookies
php中文网 Courses
php中文网 Courses
Apr 9, 2024 · Backend Development

How to Use PHP setcookie Function to Set Cookies

This article explains the PHP setcookie function, detailing its syntax, parameters such as name, value, expiration, path, domain, secure, and httponly, and provides multiple practical examples for setting cookies with different lifetimes and scopes, while also noting how to read them via $_COOKIE.

BackendPHPSecurity
0 likes · 4 min read
How to Use PHP setcookie Function to Set Cookies
Python Programming Learning Circle
Python Programming Learning Circle
Jan 24, 2024 · Backend Development

Eight Essential Techniques for Python Web Scraping with urllib2

This article presents a concise guide to Python web scraping, covering eight practical techniques—including basic GET/POST requests, proxy usage, cookie management, header spoofing, page parsing, captcha handling, gzip compression, and multithreaded crawling—each illustrated with clear code examples.

Gzipcookiesmultithreading
0 likes · 8 min read
Eight Essential Techniques for Python Web Scraping with urllib2
Test Development Learning Exchange
Test Development Learning Exchange
Nov 22, 2023 · Frontend Development

How to Retrieve Browser Cookies Using Python: Selenium, Requests, and HAR Parsing

This article explains several Python techniques for extracting browser cookies—including Selenium automation, direct HTTP requests, driver‑based retrieval, and HAR file parsing—providing clear code examples and guidance on when to use each method.

PythonSeleniumbrowser-automation
0 likes · 4 min read
How to Retrieve Browser Cookies Using Python: Selenium, Requests, and HAR Parsing
php中文网 Courses
php中文网 Courses
Sep 29, 2023 · Backend Development

Using PHP Sessions and Cookies to Enhance Web Applications

This article explains how PHP sessions and cookies work together to manage user data, improve authentication, shopping carts, and personalization, providing code examples and best practices for secure, seamless web application development.

AuthenticationPHPWeb Development
0 likes · 7 min read
Using PHP Sessions and Cookies to Enhance Web Applications
Architect's Guide
Architect's Guide
Jul 2, 2023 · Information Security

Authentication, Authorization, Credentials, Cookies, Sessions, Tokens and JWT Overview

This article provides a comprehensive overview of authentication and authorization concepts, explains the roles of credentials, compares cookies and sessions, discusses session scaling strategies, introduces token‑based authentication and JWT structure, and highlights security considerations and common encryption algorithms.

AuthenticationAuthorizationJWT
0 likes · 32 min read
Authentication, Authorization, Credentials, Cookies, Sessions, Tokens and JWT Overview
Python Programming Learning Circle
Python Programming Learning Circle
Aug 19, 2022 · Backend Development

Essential Python Web Scraping Techniques: GET/POST Requests, Proxy IPs, Cookie Handling, Header Spoofing, Gzip Compression, and Multithreading

This article presents a comprehensive guide to Python web scraping, covering basic GET and POST requests with urllib2, using proxy IPs, managing cookies, disguising as a browser via custom headers, handling gzip-compressed responses, and accelerating crawls with a simple multithreaded worker pool.

GzipPythoncookies
0 likes · 8 min read
Essential Python Web Scraping Techniques: GET/POST Requests, Proxy IPs, Cookie Handling, Header Spoofing, Gzip Compression, and Multithreading
Wukong Talks Architecture
Wukong Talks Architecture
Aug 9, 2022 · Information Security

Understanding HTTP Statelessness, Authentication, Authorization, Cookies, Sessions, and JWT

This article explains why HTTP is a stateless protocol, introduces authentication and authorization concepts, and compares cookies, sessions, and token-based mechanisms such as JWT, detailing their characteristics, workflows, and security considerations for modern web applications.

AuthenticationAuthorizationHTTP
0 likes · 14 min read
Understanding HTTP Statelessness, Authentication, Authorization, Cookies, Sessions, and JWT
Test Development Learning Exchange
Test Development Learning Exchange
Jun 5, 2022 · Backend Development

Using Java HttpClient to Simulate User Requests and Retrieve Cookies

This article explains how to simulate user HTTP requests in automated testing by sending GET/POST requests with Java, storing and extracting cookies from the application’s cookie store, and returning them as JSON, accompanied by a complete code example.

Automation TestingBackendHTTP
0 likes · 4 min read
Using Java HttpClient to Simulate User Requests and Retrieve Cookies