Hybrid Session Management via Cookie-Server Transition
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current enterprise software systems face scalability issues with server-side session management due to the inability to efficiently manage concurrent user sessions across multiple data centers, leading to challenges in global logout, session termination, and synchronization of session information.
Innovation Solution
Implementing a hybrid session management system that transitions from client-side cookie-based sessions to server-side sessions dynamically, using a session management engine to create and validate sessions based on cookies or session references, allowing for seamless session migration and synchronization across data centers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If server-side session management is used, then session validation and control capabilities are improved, but scalability and server resource consumption deteriorate
Solution Approach 1:
The patent segments session management into two parts: session validation logic remains on the server (improving reliability), while session data is distributed across multiple data centers and can be stored in various locations including client devices (improving scalability). This allows the system to maintain security and control while distributing the burden of managing concurrent sessions across multiple locations rather than concentrating all session data in a single server.
2Productivity
If purely cookie-based sessions are used, then scalability is improved, but server-side session validation capability deteriorates
Solution Approach 1:
The patent introduces session tokens as an intermediary mechanism. These tokens are generated by the server and stored in cookies on client devices, allowing scalable client-side storage while maintaining server-side validation capability. The tokens act as a bridge between the client and server, enabling the server to validate sessions without storing all session data centrally, thus resolving the contradiction between scalability and validation capability.
3Ease of operation
If server-side sessions are maintained for all users, then session control features are improved, but server overhead and resource consumption increase
Solution Approach 1:
The patent applies local quality by allowing different session management approaches for different users and different data centers. Not all users require full server-side session management; instead, the system dynamically determines which users need server-side validation based on their specific needs and the security requirements of the applications they access. This reduces overall server resource consumption while maintaining necessary control features where required.
Data Source
AI summary
An enterprise software system access manager saves cookies for users' sessions on client devices but creates server-side sessions on the fly when needed for the users to access certain features, when there is a constraint on the client device, or due to application policies. The server-side session objects can have references to the client-side cookies and can have key-value pairs added to them instead of the associated cookie.


