Tagged articles
86 articles
Page 1 of 1
php Courses
php Courses
Dec 5, 2025 · Backend Development

Master PHP’s setcookie: Create Secure, Custom Cookies in Minutes

This guide explains how to use PHP's setcookie function to create and manage browser cookies, covering syntax, each parameter's purpose, practical code examples, and security considerations for effective backend development.

SecurityWeb Developmentcookies
0 likes · 4 min read
Master PHP’s setcookie: Create Secure, Custom Cookies in Minutes
Raymond Ops
Raymond Ops
Sep 20, 2025 · Fundamentals

Understanding HTTP vs HTTPS: From Basics to Secure Web Communication

This article explains the fundamentals of HTTP and HTTPS, compares their features, details how internet messages travel through DNS, routers, IP and MAC addresses, describes request and response structures, ports, encryption methods, cookies versus sessions, and provides a comprehensive summary of their differences.

HTTPHTTPSNetworking
0 likes · 20 min read
Understanding HTTP vs HTTPS: From Basics to Secure Web Communication
Liangxu Linux
Liangxu Linux
Jun 15, 2025 · Fundamentals

HTTP vs HTTPS: Protocol Basics, Security, Cookies & Sessions

This article explains the fundamentals of HTTP and HTTPS, comparing their features, security mechanisms, ports, and performance, and details how internet messages travel through DNS, routers, IP and MAC addresses, as well as the roles, characteristics, and differences of cookies and sessions.

HTTPSSessionsWeb Protocols
0 likes · 17 min read
HTTP vs HTTPS: Protocol Basics, Security, Cookies & Sessions
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.

BackendPHPSecurity
0 likes · 5 min read
Using PHP's setcookie Function to Create and Manage Cookies
Open Source Linux
Open Source Linux
Apr 18, 2025 · Fundamentals

Understanding HTTP vs HTTPS: Protocol Basics, Security, and Session Management

This article explains the fundamental differences between HTTP and HTTPS, how internet messages travel through DNS and routers, the roles of IP and MAC addresses, port conventions, request/response structures, encryption methods, digital certificates, and compares cookies with server‑side sessions for state management.

HTTPHTTPSNetworking
0 likes · 16 min read
Understanding HTTP vs HTTPS: Protocol Basics, Security, and Session Management
Liangxu Linux
Liangxu Linux
Apr 13, 2025 · Fundamentals

Why HTTPS Matters: A Deep Dive into HTTP, Encryption, Cookies, and Sessions

This article explains the fundamentals of HTTP and HTTPS, detailing how web requests travel across the internet, the roles of IP and MAC addresses, port numbers, request and response structures, encryption methods, digital certificates, and the differences between cookies and sessions.

HTTPHTTPSSessions
0 likes · 18 min read
Why HTTPS Matters: A Deep Dive into HTTP, Encryption, Cookies, and Sessions
MaGe Linux Operations
MaGe Linux Operations
Mar 22, 2025 · Fundamentals

Why HTTP Is Insecure and How HTTPS Secures Your Web Traffic

This article explains the fundamental differences between HTTP and HTTPS, how internet messages travel through DNS and routers, the roles of ports, request and response structures, encryption methods, digital certificates, and compares cookies with sessions for state management.

HTTPHTTPSNetworking
0 likes · 18 min read
Why HTTP Is Insecure and How HTTPS Secures Your Web Traffic
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.

GzipProxyPython
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.

Web Developmentcookiessetcookie
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.

Web Securitycookiessetcookie
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.

HTTPPythonSelenium
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.

Backend DevelopmentPHPWeb 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.

Securitycookiessetcookie
0 likes · 4 min read
How to Use PHP setcookie Function to Set Cookies
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.

AuthenticationPHPSessions
0 likes · 7 min read
Using PHP Sessions and Cookies to Enhance Web Applications
JavaEdge
JavaEdge
Aug 20, 2023 · Information Security

Cookie vs Authorization Header: Which Token Storage Method Is Safer?

This article compares storing authentication tokens in cookies versus the Authorization header, outlining each method's implementation, advantages, drawbacks, security implications such as XSS and CSRF risks, cross‑domain considerations, and compliance with authentication standards.

AuthenticationToken StorageWeb Security
0 likes · 5 min read
Cookie vs Authorization Header: Which Token Storage Method Is Safer?
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.

AuthorizationJWTSessions
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.

GzipProxycookies
0 likes · 8 min read
Essential Python Web Scraping Techniques: GET/POST Requests, Proxy IPs, Cookie Handling, Header Spoofing, Gzip Compression, and Multithreading
JD Retail Technology
JD Retail Technology
Mar 21, 2022 · Frontend Development

Understanding CORS, Cookies, and Cross‑Domain Solutions for Frontend Development

This article explains the fundamentals of cross‑origin restrictions, cookies, and same‑origin policy for frontend developers, demonstrates common CORS errors with sample code, and presents practical solutions—including iframe/postMessage, JSONP, WebSocket, and CORS configurations on servers such as Node.js and Nginx—to enable secure and reliable cross‑domain communication.

CORSCross-OriginJSONP
0 likes · 21 min read
Understanding CORS, Cookies, and Cross‑Domain Solutions for Frontend Development
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Jan 12, 2022 · Frontend Development

Unpacking Cookies: From Basics to Future Front‑End Management

This article explores HTTP cookies in depth, covering their definition, attributes, security settings, tracking mechanisms, third‑party usage, front‑end management practices, emerging standards like SameSite and SameParty, and future trends such as Chrome’s privacy sandbox and the Cookie Store API.

Web Securitycookiesfrontend
0 likes · 26 min read
Unpacking Cookies: From Basics to Future Front‑End Management
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Sep 1, 2021 · Backend Development

From Cookies to JWT: Mastering Web Session and SSO Strategies

This article explains the evolution from basic web cookies to session management, explores domain sharing, details cookie‑session architecture, introduces single sign‑on methods, and compares the traditional session approach with JWT token authentication, highlighting their advantages, limitations, and implementation considerations.

BackendJWTSSO
0 likes · 16 min read
From Cookies to JWT: Mastering Web Session and SSO Strategies
Senior Brother's Insights
Senior Brother's Insights
Aug 25, 2021 · Backend Development

Mastering Cookies vs. Sessions: Deep Dive for Web Interviews

This article explains the fundamentals and advanced aspects of cookies and sessions, covering their definitions, use cases, key differences, handling when cookies are disabled, session management in distributed systems, same‑origin policy, cross‑origin requests, and security considerations for interview preparation.

Distributed SystemsHTTPSecurity
0 likes · 9 min read
Mastering Cookies vs. Sessions: Deep Dive for Web Interviews
Top Architect
Top Architect
Aug 11, 2021 · Backend Development

Eight-Step User Authentication with JWT

This article explains an eight‑step JWT‑based user authentication flow, covering secure credential transmission, database verification, token creation, HttpOnly cookie handling, request validation, payload decoding, session versus JWT comparison, and cross‑domain single sign‑on configuration.

AuthenticationJWTSingle Sign-On
0 likes · 5 min read
Eight-Step User Authentication with JWT
MaGe Linux Operations
MaGe Linux Operations
Aug 1, 2021 · Backend Development

How to Simulate a Login with Python: Scrape Protected Websites

This guide explains how to programmatically log into a website using Python's urllib2 and cookielib modules, covering cookie handling, captcha retrieval, form data construction, request headers, and posting credentials to access protected pages.

CaptchaLogin AutomationWeb Scraping
0 likes · 5 min read
How to Simulate a Login with Python: Scrape Protected Websites
Python Programming Learning Circle
Python Programming Learning Circle
Apr 13, 2021 · Backend Development

Python Web Scraping Techniques: GET/POST Requests, Proxy IP, Cookies, Header Spoofing, Gzip Compression, and Multithreading

This article provides a comprehensive Python web‑scraping guide covering basic GET/POST requests with urllib2, proxy handling, cookie management, header manipulation to mimic browsers, gzip compression handling, regular‑expression and library parsing, simple captcha strategies, and a multithreaded thread‑pool example.

GzipHeader SpoofingProxy
0 likes · 8 min read
Python Web Scraping Techniques: GET/POST Requests, Proxy IP, Cookies, Header Spoofing, Gzip Compression, and Multithreading
MaGe Linux Operations
MaGe Linux Operations
Mar 1, 2021 · Backend Development

Bypass Ant Financial Rental Site Anti‑Scraping with Python Cookies

This tutorial explains how to analyze the Ant Short‑Term Rental website's anti‑scraping mechanisms, extract the required Cookie and User‑Agent headers, and use Python's urllib2 and BeautifulSoup to reliably crawl rental listings, save the data to CSV, and optionally extend the scraper with Selenium.

Data Extractionbeautifulsoupcookies
0 likes · 12 min read
Bypass Ant Financial Rental Site Anti‑Scraping with Python Cookies
php Courses
php Courses
Jan 29, 2021 · Backend Development

Handling Cookies and File Uploads in Laravel

This article explains how Laravel encrypts and signs cookies to prevent tampering, shows multiple ways to set and retrieve cookie values, and provides detailed instructions and code examples for uploading, validating, and storing files using the framework's request and response utilities.

BackendLaravelPHP
0 likes · 5 min read
Handling Cookies and File Uploads in Laravel
21CTO
21CTO
Dec 25, 2020 · Information Security

Why GitHub Dropped Cookies: Implications for Web Privacy and GDPR

GitHub announced the removal of unnecessary cookies, reflecting GDPR-driven privacy shifts and showing how modern web platforms can reduce data collection while still tracking essential performance metrics without third‑party trackers.

Data ProtectionGDPRGitHub
0 likes · 5 min read
Why GitHub Dropped Cookies: Implications for Web Privacy and GDPR
Fulu Network R&D Team
Fulu Network R&D Team
Sep 25, 2020 · Frontend Development

Handling Third‑Party Cookie Restrictions in Chrome 80+: SameSite, HTTPS, and Node Proxy Solutions

This article explains Chrome 80+ default blocking of third‑party cookies, describes SameSite attribute options, and presents four practical solutions—including a Node.js proxy that enables cookie sharing across front‑end, proxy, and back‑end services—complete with implementation code and deployment guidance.

NodeProxycookies
0 likes · 10 min read
Handling Third‑Party Cookie Restrictions in Chrome 80+: SameSite, HTTPS, and Node Proxy Solutions
The Dominant Programmer
The Dominant Programmer
Sep 2, 2020 · Frontend Development

How to Encrypt Passwords in Vue with RSA and JSEncrypt

This guide shows how to protect plaintext passwords in a Vue login flow by using RSA asymmetric encryption with the JSEncrypt library, generating key pairs, creating utility functions, and storing encrypted credentials in cookies while providing decryption on retrieval.

JavaScriptRSAVue
0 likes · 5 min read
How to Encrypt Passwords in Vue with RSA and JSEncrypt
The Dominant Programmer
The Dominant Programmer
Sep 2, 2020 · Frontend Development

How to Implement Remember-Password in Vue Using js-cookie

This guide demonstrates how to add a remember-password feature to a Vue login page by installing the js-cookie package, creating utility functions for token handling, storing encrypted credentials and a remember-me flag in cookies when selected, and retrieving them on page load to pre-fill the form.

Vuecookiesfrontend
0 likes · 5 min read
How to Implement Remember-Password in Vue Using js-cookie
Programmer DD
Programmer DD
Aug 26, 2020 · Fundamentals

What Does ‘Stateless’ Really Mean in HTTP? Exploring State, Cookies & Sessions

Although HTTP is described as a stateless, connectionless protocol, this article dissects what “state” truly refers to, explains why the protocol lacks memory of client interactions, and demonstrates how mechanisms like cookies, sessions, and server‑side caching introduce stateful behavior to enable features such as login persistence and shopping carts.

HTTPSessionWeb Development
0 likes · 16 min read
What Does ‘Stateless’ Really Mean in HTTP? Exploring State, Cookies & Sessions
macrozheng
macrozheng
Apr 10, 2020 · Backend Development

Understanding Cookies, Sessions, and JWT: A Complete Guide to Web Authentication

This article explains how cookies and sessions compensate for HTTP's stateless nature, details their creation, types, and limitations, compares them with JSON Web Tokens, and provides guidance on choosing the appropriate authentication method for different application scales and security requirements.

AuthenticationJWTSession
0 likes · 16 min read
Understanding Cookies, Sessions, and JWT: A Complete Guide to Web Authentication
Architecture Digest
Architecture Digest
Apr 8, 2020 · Backend Development

Differences Between Cookies and Sessions and Solutions for Distributed Session Consistency

This article explains the distinction and relationship between cookies and sessions, describes how sessions work in web applications, and compares four approaches—client‑side storage, session replication, Nginx session affinity, and Redis‑based session storage—for achieving consistent distributed session management.

Distributed SessionSessionsbackend-development
0 likes · 10 min read
Differences Between Cookies and Sessions and Solutions for Distributed Session Consistency
Programmer DD
Programmer DD
Mar 31, 2020 · Fundamentals

What Does “Stateless” Really Mean in HTTP? A Deep Dive

This article explores the true meaning of HTTP’s stateless nature, clarifies common misconceptions, examines how cookies and sessions add state, and demonstrates through a simulated shopping scenario why additional mechanisms are needed to maintain user context across requests.

HTTPSessioncookies
0 likes · 15 min read
What Does “Stateless” Really Mean in HTTP? A Deep Dive
Python Programming Learning Circle
Python Programming Learning Circle
Mar 27, 2020 · Backend Development

Accessing Login‑Protected Pages with Cookies, urllib, requests, and Selenium in Python

This guide explains four practical methods—using a known cookie, simulating login with urllib or requests, maintaining a session, and employing a headless Selenium browser—to programmatically retrieve pages that require user authentication, complete with step‑by‑step instructions and code examples.

HTTPSeleniumWeb Scraping
0 likes · 14 min read
Accessing Login‑Protected Pages with Cookies, urllib, requests, and Selenium in Python
IT Architects Alliance
IT Architects Alliance
Nov 21, 2019 · Backend Development

How Cookies, Sessions, and Tokens Keep Web Users Logged In

This article explains the stateless nature of HTTP and how cookies, server‑side sessions, and token‑based authentication work together to maintain user state across requests, including their storage limits, lifecycle, and practical implementation steps.

AuthenticationBackendSession
0 likes · 8 min read
How Cookies, Sessions, and Tokens Keep Web Users Logged In
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 7, 2019 · Backend Development

Understanding Cookies: Types, Usage, and iOS Integration

This article explains what cookies and sessions are, their types and attributes, demonstrates how they control language preferences on a website, and provides practical iOS examples using NSHTTPCookie, AFNetworking, and NSURLSession to send and manage cookies in network requests.

AFNetworkingNSURLSessionSession
0 likes · 10 min read
Understanding Cookies: Types, Usage, and iOS Integration
MaGe Linux Operations
MaGe Linux Operations
Dec 31, 2018 · Backend Development

Master Python Web Scraping: 8 Essential urllib2 Techniques

This guide walks through eight practical Python urllib2 techniques for web crawling, covering basic GET/POST requests, proxy usage, cookie management, header spoofing, page parsing with regex and BeautifulSoup, captcha handling, gzip compression, and multithreaded fetching with a simple thread pool.

GzipProxyPython
0 likes · 8 min read
Master Python Web Scraping: 8 Essential urllib2 Techniques
21CTO
21CTO
Apr 26, 2018 · Information Security

How Cookies, Beacons & Fingerprints Track You Online

This article explains the fundamentals of web tracking, distinguishing first- and third-party trackers, detailing technical mechanisms such as cookies, browser fingerprinting, and web beacons, and offers practical tools like Lightbeam to detect and visualize trackers, highlighting privacy implications for users and operators.

Browser Fingerprintingcookiesprivacy
0 likes · 8 min read
How Cookies, Beacons & Fingerprints Track You Online
Architecture Digest
Architecture Digest
Jan 6, 2018 · Backend Development

Comprehensive Guide to Building Web Applications with Koa

This tutorial walks you through setting up a Node.js environment, installing Koa, and progressively building a web application by covering basic HTTP services, context handling, response types, routing, middleware, error handling, cookies, form processing, and file uploads with clear code examples.

Error HandlingKoaNode.js
0 likes · 19 min read
Comprehensive Guide to Building Web Applications with Koa
ITPUB
ITPUB
May 18, 2017 · Operations

Mastering curl: Fetch, Save, and Manipulate Web Content from the Command Line

This guide explains how to use the curl command-line tool to fetch web pages, display or combine HTTP headers, save output to files, follow redirects, customize User-Agent and headers, manage cookies, and perform POST and GET requests with data, including examples for multiple file downloads.

File DownloadHTTPHeaders
0 likes · 9 min read
Mastering curl: Fetch, Save, and Manipulate Web Content from the Command Line
MaGe Linux Operations
MaGe Linux Operations
Jun 15, 2016 · Fundamentals

Understanding HTTP Cookies: Origins, Creation, and Best Practices

This article explains what HTTP cookies are, their historical origin, how they are created and managed via Set-Cookie headers, the meaning of options like expires, domain, path, and secure, as well as JavaScript handling, subcookies, HTTP‑Only flags, and common limitations.

HTTPJavaScriptSession
0 likes · 17 min read
Understanding HTTP Cookies: Origins, Creation, and Best Practices
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 23, 2016 · Information Security

Testing HTTP Header Parameters for SQL Injection: Coverage, Tools, and Best Practices

The article examines how HTTP header and cookie parameters can serve as SQL injection vectors, evaluates the coverage of commercial and open‑source web vulnerability scanners, demonstrates manual testing techniques, and recommends tools such as sqlmap for comprehensive security assessments.

SQL injectionSQLMapWeb Security
0 likes · 13 min read
Testing HTTP Header Parameters for SQL Injection: Coverage, Tools, and Best Practices
21CTO
21CTO
Apr 28, 2016 · Frontend Development

Mastering Browser Storage: Cookies, Web Storage, IndexedDB & WebSQL

An in‑depth guide to the evolution of browser storage—covering cookies, Web Storage (localStorage/sessionStorage), IndexedDB, WebSQL, and related APIs—explains their concepts, usage, compatibility, and provides practical code examples for reading, writing, and managing data across modern browsers.

IndexedDBWebSQLbrowser storage
0 likes · 15 min read
Mastering Browser Storage: Cookies, Web Storage, IndexedDB & WebSQL
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Jul 16, 2015 · Information Security

Beyond GET/POST: Testing HTTP Headers and Cookies for SQL Injection

This article examines how web vulnerability scanners handle non‑traditional input vectors such as HTTP headers and cookies, demonstrates manual exploitation techniques for header‑based SQL injection, compares scanner coverage and accuracy, and offers practical guidance for developers and penetration testers.

SQL injectionSQLMapWeb Security
0 likes · 14 min read
Beyond GET/POST: Testing HTTP Headers and Cookies for SQL Injection
Baidu Tech Salon
Baidu Tech Salon
Oct 16, 2014 · Information Security

Editor's Note: The websites you visit write Cookies to your browser...

With third‑party cookies dying, Facebook, Google, and Apple are replacing them by leveraging their own login ecosystems—Facebook’s SSO and Atlas platform, Google’s Ad ID across Android and services, and Apple’s IDFA tied to Apple IDs—while third‑party data firms supplement detail, and users can still disable most tracking.

Tech Companiescookiesdata privacy
0 likes · 7 min read
Editor's Note: The websites you visit write Cookies to your browser...