><script runat="server"> > <object id="MyObjectName" runat="server" scope="application" class="DotNetClassName" /> ></script> >>
<%= Security.noAccessLink %>That's pretty close to what I want, except I'd also like the same instance of the object available in the global.asax.cs file (from the various events). Unless someone else knows how to do this, I might just give up on that idea and create a property that holds an instance of my object and use that instead. It seems silly to have to have two instances of it, but it's not that big of a deal; some of the properties are defined as static so they're already being shared. Hmm...I suppose I could create a static property that holds a reference to "this". Nah, not worth the trouble (and would probably be confusing).