Web Session State Manager for Interruption Recovery
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional web-based applications lack the ability to preserve session state during interruptions, such as session timeouts or network errors, forcing users to restart transactions from the beginning and do not allow users to voluntarily pause and resume sessions.
Innovation Solution
A method and system for managing session state by storing session information in cache and persistent storage, allowing users to pause and resume sessions, using a session state manager that intercepts client requests and server responses to cache and restore session data, enabling users to save and restore session context.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If session timeout is implemented for security reasons, then security is improved, but session state is lost and user convenience deteriorates
Solution Approach 1:
The system performs preliminary action by automatically saving session state to persistent storage before session timeout occurs. The session state manager continuously monitors session duration and proactively persists transaction data, form inputs, and navigation state to storage mechanisms before the timeout threshold is reached, enabling automatic session resumption without data loss.
Solution Approach 2:
A session state manager acts as an intermediary component between the web application and storage mechanisms. This mediator captures session state information, manages its persistence to various storage backends (database, file system, cache), and handles session resumption logic, thereby decoupling the security timeout mechanism from session state preservation.
2Ease of operation
If session state is preserved during interruptions, then user convenience is improved, but system complexity increases
Solution Approach 1:
The session state management functionality is segmented into distinct, independently deployable components: a session state manager module, multiple storage backend options (database, file system, cache), and integration layers. This modular architecture allows organizations to implement only the necessary components for their specific needs, reducing overall system complexity while maintaining session preservation capabilities.
Solution Approach 2:
The session state manager serves as an intermediary layer that abstracts the complexity of session persistence from the core web application. By handling all session state capture, storage, and retrieval operations through this dedicated component, the patent isolates complexity to a single manageable module rather than distributing it throughout the entire system.
3Reliability
If session information is stored in persistent storage, then session state preservation is improved, but storage resources are consumed
Solution Approach 1:
The system applies partial action by selectively persisting only essential session state information to durable storage. Non-critical or transient data remains in volatile memory, while only core transaction state, authentication context, and navigation information are written to persistent storage. This selective persistence approach maintains session state preservation for critical operations while minimizing storage resource consumption.
Solution Approach 2:
The session state manager dynamically adjusts persistence parameters based on session characteristics, data sensitivity, and storage availability. It modifies which session attributes are persisted, the persistence frequency, and the storage backend selection based on real-time conditions, thereby optimizing the balance between session state preservation reliability and storage resource utilization.
Data Source
AI summary
A technique for managing the session state of a web application during transaction processing. When a message is exchanged between a web client and a web server, such as a web client request or a web server response, session information therein is stored on behalf of the client. Following an interruption in session state, the session state may be recreated by using the stored session information.


