[Mono-bugs] [Bug 53387][Nor] New - object tags in global.asax don't get executed

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Jan 2004 05:24:12 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by linux.mono@christopherholst.com.


--- shadow/53387	2004-01-27 05:24:12.000000000 -0500
+++ shadow/53387.tmp.21328	2004-01-27 05:24:12.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 53387
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Fedora 1.0
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: linux.mono@christopherholst.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: object tags in global.asax don't get executed
+Description of Problem:
+The <object> tag in global.asax doesn't seem to get executed (every call 
+to objectid.MyMethod() returns an error).
+Steps to reproduce the problem:
+1. copy the line <object id=sf runat="server" scope="session" 
+class="MyNamespace.SessionContainerFactory" /> in the first line of the 
+global.asax file. 
+2. Assuming the given class exists and has a method, call this method 
+from within global.asax <script>-tags like 
+public void Session_OnEnd()
+  sf.MyMethod();   
+3. Open the startpage, an error message will appear ("The name 
+`sf.MyMethod()' could not be found in `ASP.Global_asax'"). 
+Actual Results:
+Error message is displayed.
+Expected Results:
+page opens normally, sf exists. 
+How often does this happen? 
+Additional Information: