Results 1 to 2 of 2

Thread: global.asa #$@*

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2001
    Posts
    22

    global.asa #$@*

    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

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    the server you are using is not setup to allow global.asa. I assume it is not allwoing execute permissions.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width