Web Session Management via Background Refresh

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for keeping a web session alive in ASP.NET web applications are inefficient, leading to data loss due to premature session timeouts, especially in scenarios where users need to remain logged in for extended periods or during long data entry processes, and result in excessive server memory usage when increasing session timeout values.

Innovation Solution

A software tool with a class library that manages session state by adding specific code to web pages and handling server requests, allowing automatic background refreshes and customizable session management, eliminating the need for user interaction and reducing data loss risks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Duration of action of stationary object

If session timeout value is increased to keep web session alive during long operations, then user can remain logged in indefinitely, but server memory usage increases excessively

Engineering Contradiction:
Improvesession timeout durationVSAvoidserver memory usage
Core Design Contradiction:
Duration of action of stationary objectVSQuantity of substance

Solution Approach 1:

The patent implements periodic background refreshes that automatically execute at configured intervals to extend session lifetime. This periodic action allows the session to remain active without requiring continuous user interaction or excessive memory allocation, resolving the contradiction between extended session duration and memory usage.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system performs self-service by automatically managing session state through background refreshes without requiring user intervention. The session management is handled autonomously by the web application, eliminating the need for manual session extension while optimizing memory usage.

Inventive Principle:
Principle #25Self-service

2Reliability

If session timeout value is increased to prevent data loss during long data entry, then data integrity is maintained, but server resources are consumed excessively

Engineering Contradiction:
Improvedata integrityVSAvoidserver memory usage
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

Background refreshes execute periodically to maintain session state and prevent data loss during long operations. This periodic mechanism ensures data integrity is preserved without requiring excessive server memory, as the refreshes occur at optimized intervals rather than continuously.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent allows dynamic configuration of session management parameters including refresh intervals and timeout values. By enabling parameter changes based on operational needs, the system maintains data integrity while optimizing server resource consumption according to actual usage patterns.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If automatic background refresh is implemented to keep session alive, then user remains logged in without interaction, but web page structure becomes more complex

Engineering Contradiction:
Improveuser interaction requirementVSAvoidweb page structure
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent implements a universal session management mechanism that handles multiple functions: keeping sessions alive, preventing data loss, and managing user authentication. This multi-functional approach consolidates complexity into a single system rather than requiring separate solutions for each function.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system introduces an intermediary layer for session management that mediates between user operations and server state. This intermediary handles the complexity of background refreshes and session state management, shielding the web page structure from direct complexity while enabling automatic operation.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS8843876B2Method for keeping a web session alive in a web application
Publication Date: 2014.09.23 SIEMENS AG
  • US8843876B2 patent drawing
  • US8843876B2 patent drawing

AI summary

A method keeps a web session alive for an amount of time allowing to keep a limited amount of data on the Internet information server and manage individually the session timeout characteristics of the web session in the web application. The method automatically refreshes the web pages in the background without any further user interaction. Thereby, a portion of code added effectively creates a hidden postback that keeps alive the session's state. By a class library, the user is enabled at the engineering level to manage a session timeout state and to eliminate a premature timeout thereby eliminating any risk of possible data loss.