Home >Backend Development >C++ >Why Does Cross-Application Session Sharing Cause Web App Lockups During Large Data Uploads?
Web Application Session Locking During Cross-Application Data Transfers
Two IIS-hosted web applications, /HRMS and /TravelDesk, utilize AspState for shared session management. Session sharing functions correctly during navigation between applications. Problems occur, however, when users upload large datasets within /TravelDesk.
The /HRMS application becomes unresponsive while /TravelDesk processes the upload. This unresponsiveness stems from the SQL Server session lock imposed during /TravelDesk's data handling.
Resolution:
The recommended solution involves temporarily disabling the session during large data uploads. This can be implemented within the upload handler or page.
Disabling the session during data processing releases the SQL Server session lock, restoring responsiveness to the /HRMS application.
Further Reading:
The above is the detailed content of Why Does Cross-Application Session Sharing Cause Web App Lockups During Large Data Uploads?. For more information, please follow other related articles on the PHP Chinese website!