Atozed Forums
IWSessionTimeout page not show on IIS when session timeout - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: IWSessionTimeout page not show on IIS when session timeout (/thread-3664.html)



IWSessionTimeout page not show on IIS when session timeout - baxing - 11-29-2023

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.


RE: IWSessionTimeout page not show on IIS when session timeout - baxing - 11-30-2023

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