If we declare a variable staticin Global.asax, then how to access it on the page ASP.NET?
<script runat=server">
public static object myObject = new MyClass();
</script>
And is it a good idea to store a global object (one instance for all requests)?
source
share