IWSessionTimeout page not show on IIS when session timeout

<< Click to Display Table of Contents >>

Navigation:  Forum >

IWSessionTimeout page not show on IIS when session timeout

Forum link

 

 

 


 

11-29-2023, 02:37 PM:

 

Hi,

 

I use timeout template file(IWSessionTimeout.html) in my Templates folder. I test on my local computer by myapp.exe (indy), It show timeout page normally. But I built to myapp.dll and used on my server by IIS. When Timeout occurs, it doesn't show the timeout page, but shows Server Error : 500 - Internal server error instead (There is a problem with the resource you are looking for, and it cannot be displayed.).

 

I don't know if for ISAPI there needs to be any additional adjustments or not in order to display the Timeout template page when a Timeout occurs because for Indy it displays normally.

 

Guide me please.

 

Thank you.

 

 

 


 

11-30-2023, 03:36 AM:

 

I found the solution in this document(8. Configuring your application to show timeout errors in a Windows Server) by edit "web.config" file of application and it worked for me. Read it in section 8 and I followed it and it solved this problem.

 

Thank

 

cool