https://bugzilla.novell.com/show_bug.cgi?id=357565
Summary: No immediate app shutdown when "app_offline.htm" is created Product: Mono: Class Libraries Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sys.Web AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: mono-bugs@lists.ximian.com Found By: --- According to http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx, placing a file "app_offline.htm" into a webapp's directory will shutdown the app (and serve this file for every request). Mono delays the shutdown until the file is removed. Test case: ========== - create empty index.aspx - create global.asax containing: <% @Application Language="C#" %> <script runat='server'> void Application_Start(object o, EventArgs e) { Console.WriteLine("app start."); } void Application_End(object o, EventArgs e) { Console.WriteLine("app end."); } </script> - start xsp2 - request http://localhost:8080/ => "app start." message on console - echo "Website offline" >app_offline.htm" => no message, no app shutdown! (Any changes to the application while there is a "app_offline.htm" file go unnoticed...) - rm app_offline.htm => "app end." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - mono-bugs@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-bugs