micksterbooty
May 21st, 2001, 08:55 AM
Hi can any one help i have tried everything. newbie to global.asa
Global.asa:
<script language="vbscript" runat=server>
Sub Session_OnStart
Session("cartItem") = 0
End Sub
</script>
index.asp:
Session is<%response.write(Session("cartItem"))%>
These two files in a folder called test.
when run on IIS I get: Session is 0
but on server: Session is
so the global file is not being called.
the server directory is
/
_vti_cnf folder (???? nothing in it)
database folder
Test folder (index.asp)
I have tried with the global in the test folder as well as in the root directory. I have also set the Test folder up as an apllication in IIS Manager
I am wondering if some servers dont faciltate global.asa or am i doing something wrong.
Thanks for any help I alrady wasted a day trying to figure this out
cheers
mick
Global.asa:
<script language="vbscript" runat=server>
Sub Session_OnStart
Session("cartItem") = 0
End Sub
</script>
index.asp:
Session is<%response.write(Session("cartItem"))%>
These two files in a folder called test.
when run on IIS I get: Session is 0
but on server: Session is
so the global file is not being called.
the server directory is
/
_vti_cnf folder (???? nothing in it)
database folder
Test folder (index.asp)
I have tried with the global in the test folder as well as in the root directory. I have also set the Test folder up as an apllication in IIS Manager
I am wondering if some servers dont faciltate global.asa or am i doing something wrong.
Thanks for any help I alrady wasted a day trying to figure this out
cheers
mick