Hi all, In Classic ASP, shouldn't a subroutine in global.asa be available to all .asp pages in the application? For some reason I am having trouble calling the sub. Before I look at whether something specific to my application is causing the problem I wanted to make sure I understood properly.
global.asa:
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
sub foo
session("foo") = true
end sub
</SCRIPT>
myinclude.inc, included in all pages:
call foo
I get 'Type Mismatch' runtime error referencing foo. Am I totally misunderstanding this?