Skip to content
Tagged articles

Session Management

141 articles · Page 2 of 2
Liangxu Linux
Liangxu Linux
Feb 27, 2021 · Operations

Master Multi-Session Management with Tmux: Install, Commands, and Tips

Learn how to install Tmux on various Linux distributions, create and manage named sessions, split and navigate panes, synchronize commands across panes, and safely detach, attach, or kill sessions, with clear command examples and shortcuts for efficient terminal multiplexing.

LinuxSession ManagementTMUX
0 likes · 8 min read
Master Multi-Session Management with Tmux: Install, Commands, and Tips
Liangxu Linux
Liangxu Linux
Feb 2, 2021 · Operations

Master tmux on Linux: Create, Manage, and Navigate Sessions Efficiently

This guide explains how to install tmux on CentOS, create and name sessions, detach and reattach them, list existing sessions, and use keyboard shortcuts to open, switch, split, and close windows, providing practical commands and visual examples for seamless terminal multiplexing.

LinuxSession ManagementTMUX
0 likes · 4 min read
Master tmux on Linux: Create, Manage, and Navigate Sessions Efficiently
Senior Brother's Insights
Senior Brother's Insights
Jan 20, 2021 · Information Security

Understanding Apache Shiro: Core Concepts, Architecture, and Features

This article introduces Apache Shiro, a lightweight Java security framework, covering its authentication, authorization, cryptography, session management, core components, module functions, and overall architecture to help developers grasp its practical use in permission management.

Apache ShiroJava securitySession Management
0 likes · 10 min read
Understanding Apache Shiro: Core Concepts, Architecture, and Features
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 25, 2020 · Backend Development

Implementing Login Authentication with Custom Annotations and Interceptors in Spring Boot

This guide demonstrates how to enforce login authentication in a Spring Boot application by defining a @LoginUser annotation, creating a corresponding interceptor, registering it in the MVC configuration, and testing the functionality with sample controller endpoints, illustrating session handling and thread‑local user storage.

Custom AnnotationJavaLogin Interceptor
0 likes · 8 min read
Implementing Login Authentication with Custom Annotations and Interceptors in Spring Boot
IT Xianyu
IT Xianyu
Oct 25, 2020 · Backend Development

Understanding HttpSession: Concepts, Methods, and Practical Examples

This article explains the fundamentals of HttpSession in Java web applications, covering its server‑side nature, underlying JSESSIONID cookie mechanism, lifecycle, common API methods, configuration, and provides several practical code examples such as login verification, shopping cart handling, duplicate‑submission prevention, and cookie‑disabled session strategies.

HttpSessionJavaServlet
0 likes · 9 min read
Understanding HttpSession: Concepts, Methods, and Practical Examples
Tencent Cloud Developer
Tencent Cloud Developer
Oct 22, 2020 · Mobile Development

Design and Implementation of Login and Authorization in WeChat Mini Programs

This article presents a comprehensive design for WeChat Mini Program login and authorization, detailing business scenarios, silent‑login flow with token management, fault‑tolerant session handling, step‑wise UI components for user and phone permissions, and a clear front‑end/back‑end API contract within a layered architecture.

BackendSession ManagementWeChat Mini-Program
0 likes · 25 min read
Design and Implementation of Login and Authorization in WeChat Mini Programs
Liangxu Linux
Liangxu Linux
Oct 8, 2020 · Operations

Master tmux: Keep Long‑Running Scripts Alive on Remote Servers

This guide explains how to use tmux—a terminal multiplexer—to create, detach, reattach, and manage sessions, windows, and panes on Linux servers, ensuring scripts continue running even when SSH connections drop or terminals close.

LinuxOperationsSession Management
0 likes · 15 min read
Master tmux: Keep Long‑Running Scripts Alive on Remote Servers
Open Source Linux
Open Source Linux
Sep 7, 2020 · Operations

Never Lose Long‑Running Linux Tasks: Master the Screen Command

This guide explains how to install, start, name, detach, reattach, nest, and close GNU Screen sessions on Linux, enabling you to keep long‑running processes alive across network interruptions and efficiently manage multiple terminal tasks in a single window.

LinuxSession ManagementTerminal
0 likes · 7 min read
Never Lose Long‑Running Linux Tasks: Master the Screen Command
Architect
Architect
Aug 11, 2020 · Backend Development

Distributed Session, Transaction, and Lock Strategies in Java Applications

This article explains how to manage sessions, implement distributed transactions, and coordinate distributed locks in Java-based distributed systems, covering practical solutions with Tomcat‑Redis, Spring Session, CAP theory, XA, TCC, message‑based consistency, Redis locks, RedLock, and Zookeeper locks, complete with configuration and code examples.

JavaRedisSession Management
0 likes · 22 min read
Distributed Session, Transaction, and Lock Strategies in Java Applications
Programmer DD
Programmer DD
Aug 2, 2020 · Backend Development

How to Solve Session Sharing and Cache Issues in Distributed Systems

This article explains how to handle session sharing in distributed systems through replication, sticky sessions, or a dedicated session server, and addresses cache penetration and avalanche issues with practical mitigation techniques such as request filtering, empty-object caching, hash repositories, Redis clustering, staggered expirations, and concurrency controls.

Session Managementbackend developmentdistributed systems
0 likes · 6 min read
How to Solve Session Sharing and Cache Issues in Distributed Systems
Architect
Architect
Jul 16, 2020 · Information Security

Understanding Single Sign-On (SSO) Mechanism and Java Implementation

This article explains the fundamentals of HTTP session management, the limitations of cookie-based single-system login, and introduces Single Sign-On (SSO) concepts, including global and local sessions, token-based authentication, and provides step-by-step Java code examples for implementing SSO client and server components.

JavaSSOSession Management
0 likes · 16 min read
Understanding Single Sign-On (SSO) Mechanism and Java Implementation
Programmer DD
Programmer DD
Jun 18, 2020 · Backend Development

Why Closing the Browser Doesn’t End Your Java Session – HttpSession and Cookie Sharing Across Ports

This article explores the inner workings of Java HttpSession in Tomcat, explains how sessions are stored in a thread‑safe map, examines the relationship between sessions and cookies, and investigates why browsers share cookies across different ports on the same host, leading to unexpected session behavior.

CookieHttpSessionJava
0 likes · 13 min read
Why Closing the Browser Doesn’t End Your Java Session – HttpSession and Cookie Sharing Across Ports
Liangxu Linux
Liangxu Linux
Jan 8, 2020 · Fundamentals

Master GNU Screen: Install, Use, and Customize Your Linux Sessions

This tutorial explains how to install GNU Screen on various Linux distributions, start and manage screen sessions, use key bindings for window and pane control, detach and reattach sessions, and customize behavior through a .screenrc file, providing practical commands and examples for reliable remote work.

GNU ScreenSession Managementcommand-line
0 likes · 8 min read
Master GNU Screen: Install, Use, and Customize Your Linux Sessions
Programmer DD
Programmer DD
Nov 8, 2019 · Operations

Master tmux: Essential Commands and Tips for Efficient Terminal Multiplexing

This guide introduces tmux, a powerful terminal multiplexer for Linux, explains its core features, session/window/pane architecture, and provides practical command shortcuts and customization tips to keep long-running tasks running smoothly and improve workflow efficiency.

Session ManagementTMUXterminal multiplexing
0 likes · 8 min read
Master tmux: Essential Commands and Tips for Efficient Terminal Multiplexing
Liangxu Linux
Liangxu Linux
Nov 6, 2019 · Fundamentals

Master Terminal Sessions with Tmux: A Complete Beginner’s Guide

This article introduces Tmux, a powerful terminal multiplexer, explains its core concepts such as sessions, windows, and panes, and provides step‑by‑step commands for installation, basic usage, session management, pane manipulation, and window control, enabling developers to work more efficiently in the command line.

Session ManagementTMUXcommand-line
0 likes · 10 min read
Master Terminal Sessions with Tmux: A Complete Beginner’s Guide
Architect's Tech Stack
Architect's Tech Stack
Aug 19, 2019 · Information Security

Understanding Single Sign‑On (SSO) Mechanism and Its Java Implementation

This article explains the stateless nature of HTTP, the session mechanism used for single‑system login, the challenges of multi‑system applications, and how Single Sign‑On (SSO) solves them by introducing a central authentication server, token‑based authorization, and coordinated logout, with concrete Java code examples.

SSOSession ManagementWeb Security
0 likes · 15 min read
Understanding Single Sign‑On (SSO) Mechanism and Its Java Implementation
vivo Internet Technology
vivo Internet Technology
Jul 24, 2019 · Backend Development

Spring Session Implementation Guide: Session Sharing with Redis in Distributed Systems

Spring Session enables distributed session sharing by storing HTTP session data in Redis, using a filter and listener configuration to replace Tomcat’s in‑memory storage, managing three Redis keys with coordinated expirations, and subscribing to keyspace events for reliable cleanup and cross‑instance access.

JavaRedisSession Management
0 likes · 12 min read
Spring Session Implementation Guide: Session Sharing with Redis in Distributed Systems
Java Backend Technology
Java Backend Technology
Nov 3, 2018 · Backend Development

Why Session Loss Happens in Hash Load Balancing and How to Fix It

This article explains why session loss occurs when using hash‑based load balancing, illustrates the problem with Nginx ip_hash, and compares three mitigation strategies—sticky sessions via nginx‑sticky‑module, session replication, and session sharing—highlighting their advantages, drawbacks, and suitable scenarios.

Session Managementload-balancingsession replication
0 likes · 10 min read
Why Session Loss Happens in Hash Load Balancing and How to Fix It
Java Captain
Java Captain
Sep 8, 2018 · Information Security

Understanding Single Sign-On (SSO) Mechanism and Its Java Implementation

This article explains the fundamentals of HTTP's stateless nature, session handling, and login state, then introduces the challenges of multi‑system environments and presents a detailed overview of Single Sign‑On (SSO) concepts, flow, deployment, and step‑by‑step Java code examples for both client and server sides.

BackendJavaSSO
0 likes · 15 min read
Understanding Single Sign-On (SSO) Mechanism and Its Java Implementation
Big Data and Microservices
Big Data and Microservices
Jul 23, 2018 · Information Security

Understanding Apache Shiro: Core Concepts and Architecture Explained

This article introduces Apache Shiro, a lightweight Java security framework, and explains its three core concepts—Subject, SecurityManager, and Realms—while detailing the full system architecture including authenticators, authorizers, session management, caching, and cryptography components.

Apache ShiroAuthenticationJava security
0 likes · 5 min read
Understanding Apache Shiro: Core Concepts and Architecture Explained
Architecture Digest
Architecture Digest
Jun 17, 2018 · Backend Development

From Moore's Law to Distributed Architecture: Load Balancing, Session Management, and Database Sharding

The article explains how the slowdown of Moore's Law drives the shift from monolithic applications to distributed systems, covering load balancing, session handling strategies, read‑write separation, and database sharding to achieve scalable, high‑availability backend architectures.

Session Managementbackend architecturedatabase sharding
0 likes · 8 min read
From Moore's Law to Distributed Architecture: Load Balancing, Session Management, and Database Sharding
Programmer DD
Programmer DD
Apr 22, 2018 · Backend Development

Unveiling Spring Session’s Redis Data Structures: From A to C Keys Explained

This article dissects Spring Session’s Redis implementation, explaining the three key types (A, B, C), their TTL settings, how they enable session sharing, the pitfalls of Redis expiration, concurrency challenges, and the sophisticated cleanup and notification mechanisms Spring Session employs to ensure reliable session management.

BackendConcurrencyJava
0 likes · 15 min read
Unveiling Spring Session’s Redis Data Structures: From A to C Keys Explained
360 Quality & Efficiency
360 Quality & Efficiency
Mar 29, 2018 · Operations

Reflections on Testing Challenges: Session Synchronization, Configuration Migration, Identifier Issues, and Process Compliance

The article shares a tester's three‑year journey, detailing real‑world problems such as session synchronization failures, configuration migration oversights, missing identifiers, and process compliance lapses, while offering analysis, root‑cause explanations, and practical lessons learned for improving software testing and operations.

Configuration MigrationSession Managementbug analysis
0 likes · 7 min read
Reflections on Testing Challenges: Session Synchronization, Configuration Migration, Identifier Issues, and Process Compliance
Architecture Digest
Architecture Digest
Aug 7, 2017 · Operations

Website Availability and High‑Availability Architecture Overview

This article explains website availability metrics, fault‑weight scoring, layered high‑availability architecture, session management strategies, reusable service design, data redundancy, quality assurance processes, and monitoring practices essential for maintaining reliable large‑scale web systems.

High AvailabilityOperationsSession Management
0 likes · 9 min read
Website Availability and High‑Availability Architecture Overview
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jun 16, 2016 · Backend Development

Optimizing Large‑Scale E‑Commerce Site Architecture: Business Splitting, Clustering, Caching & SSO

This article examines the analysis and optimization of a high‑traffic e‑commerce website, covering problems such as server waste and tight coupling, and presenting solutions including business splitting, application clustering, multi‑level caching, distributed sessions, and deployment diagrams to improve scalability and reliability.

BackendCachingSession Management
0 likes · 7 min read
Optimizing Large‑Scale E‑Commerce Site Architecture: Business Splitting, Clustering, Caching & SSO
ITPUB
ITPUB
May 31, 2016 · Backend Development

How to Keep User Sessions Consistent Across Load‑Balanced Servers

This article explains why adding a load balancer can break session continuity, compares sticky sessions, session replication, centralized stores, and cookie‑based approaches, and outlines the advantages and drawbacks of each method for maintaining reliable user sessions in a server cluster.

CookieSession Managementsession replication
0 likes · 8 min read
How to Keep User Sessions Consistent Across Load‑Balanced Servers
Architecture Digest
Architecture Digest
Apr 23, 2016 · Backend Development

Designing Scalable Large-Scale Internet Applications: Stateless Sessions, Caching, Service Splitting, Database Sharding, Asynchronous Communication, and Configuration Management

The article explains how to build a highly scalable internet application by adopting stateless session handling, effective caching, service decomposition with remote call frameworks, database sharding, asynchronous messaging, unstructured data storage, comprehensive monitoring, and unified configuration management.

CachingSession Managementasynchronous communication
0 likes · 16 min read
Designing Scalable Large-Scale Internet Applications: Stateless Sessions, Caching, Service Splitting, Database Sharding, Asynchronous Communication, and Configuration Management
21CTO
21CTO
Apr 16, 2016 · Backend Development

How Taobao Scales: Stateless Sessions, Caching, Service Splitting, and More

Taobao’s massive B2C platform achieves high scalability and reliability by employing stateless session management with multi‑value cookies, leveraging Tair caching, splitting services via HSF, partitioning databases with TDDL, adopting asynchronous messaging, using distributed file storage, and implementing comprehensive monitoring and unified configuration management.

CachingSession Managementdatabase sharding
0 likes · 18 min read
How Taobao Scales: Stateless Sessions, Caching, Service Splitting, and More
Qunar Tech Salon
Qunar Tech Salon
Feb 16, 2016 · Backend Development

Evolution and Scaling Strategies for Large Websites: Architecture, Session Management, and Database Optimization

The article reviews the evolution of large‑scale website architecture, explaining how business complexity, multi‑server deployment, session handling, load balancing, database read/write separation, caching, and search indexing together address availability, concurrency, and performance challenges in modern web systems.

CachingRead-Write SeparationSession Management
0 likes · 16 min read
Evolution and Scaling Strategies for Large Websites: Architecture, Session Management, and Database Optimization
21CTO
21CTO
Oct 10, 2015 · Backend Development

How to Choose the Right Session Management Strategy for Scalable Web Applications

With growing website traffic, single‑machine deployments struggle, so this article examines four session‑management strategies—session stickiness, replication, centralized storage, and cookie‑based approaches—detailing their mechanisms, advantages, and drawbacks to help you select the best solution for scalable web applications.

Session Managementbackend scalingdistributed systems
0 likes · 6 min read
How to Choose the Right Session Management Strategy for Scalable Web Applications
Qunar Tech Salon
Qunar Tech Salon
Jun 28, 2015 · Fundamentals

Understanding tmux: Concepts, Usage, and Custom Scripts

This article explains what tmux is, describes its client‑server architecture, sessions, windows and panes, and shows how to use copy‑mode, scripting with split‑window and send‑keys, custom configuration, and troubleshooting tips for effective terminal multiplexing.

Session ManagementTMUXcopy mode
0 likes · 8 min read
Understanding tmux: Concepts, Usage, and Custom Scripts