Web Session Management via Background Refresh
Find Innovative SolutionsGenerate 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
Engineering 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
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.
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.
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
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.
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.
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
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.
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.
Data Source
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.

