[Mono-devel-list] xsp, global.asax && Application_Start

dim dimsmol at rambler.ru
Mon May 12 08:30:31 EDT 2003


Do xsp parse <script> section of global.asax and take care of
Application_Start method definition?

I made simple sample with storing string constant in Application[]
structure and tried to get it from aspx page - but it seems like
initialization code in Application_Start never executes.

I attached my global.asax and test.aspx to show the problem. Webmatrix
executes this example correctly.

Thank You! :)))
Best regards, dim. :)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030512/b04ce3e8/attachment.html 
-------------- next part --------------
<script runat="server">
 
    public void Application_Start(Object sender, EventArgs e) {
            // Code that runs on application startup
	            Application["aaa"] = "AAA";
    }
					 
</script>
					


More information about the Mono-devel-list mailing list