Home >Backend Development >C++ >Why is my HRMS web app unresponsive when a long upload occurs in my TravelDesk app?

Why is my HRMS web app unresponsive when a long upload occurs in my TravelDesk app?

Barbara Streisand
Barbara StreisandOriginal
2025-01-13 20:09:49322browse

Why is my HRMS web app unresponsive when a long upload occurs in my TravelDesk app?

IIS Web App Session Blocking: HRMS and TravelDesk

Two IIS web applications, /HRMS and /TravelDesk, share a session using AspState. A user logged into /HRMS accessing /TravelDesk in a separate browser window shares the session.

The problem: A lengthy upload in /TravelDesk blocks /HRMS, rendering it unresponsive. This is because the SQL Server session is locked during the /TravelDesk upload, preventing /HRMS access until completion.

Solution: Disable session state in the /TravelDesk application's upload handler or page. This prevents session locking and allows concurrent access to /HRMS.

For alternative session management, explore options like completely replacing ASP.Net's session state mechanism (search for "Replacing ASP.Net's session entirely").

The above is the detailed content of Why is my HRMS web app unresponsive when a long upload occurs in my TravelDesk app?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn