Web Session State Manager for Interruption Recovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering Contradiction Analysis

1Reliability

If session timeout is implemented for security reasons, then security is improved, but session state is lost and user convenience deteriorates

Engineering Contradiction:
ImprovesecurityVSAvoiduser convenience
Core Design Contradiction:
ReliabilityVSEase of operation

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.

Inventive Principle:
Principle #10Preliminary action

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If session state is preserved during interruptions, then user convenience is improved, but system complexity increases

Engineering Contradiction:
Improveuser convenienceVSAvoidsystem complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

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.

Inventive Principle:
Principle #1Segmentation

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.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If session information is stored in persistent storage, then session state preservation is improved, but storage resources are consumed

Engineering Contradiction:
Improvesession state preservationVSAvoidstorage resources
Core Design Contradiction:
ReliabilityVSQuantity of substance

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.

Inventive Principle:
Principle #16Partial or excessive action

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.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS7953861B2Managing session state for web applications
Publication Date: 2011.05.31 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US7953861B2 patent drawing
  • US7953861B2 patent drawing
  • US7953861B2 patent drawing

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.