John Drago wrote:

Make absolutely sure Apache::ASP is finding your global.asa to start
with.

All the other events I have in there are being called.


PerlSetVar Global "/path"

I had mine set to '.', with global.asa at the site's root. I tried setting it to the site root's absolute path, but the behavior didn't change.


If your Script_OnStart() subroutine *does* work, but your
Application_OnStart() doesn't, then we might have a problem.

That is precisely the situation.


Maybe there is a problem with the code itself?  If you try the
following, it should work:

<your global.asa>
        sub Application_OnStart
        {
                $Application->{foo} = "this is a test!";
        }# end Application_OnStart()

        sub Script_OnStart
        {
                $Response->Write( $Application->{foo} );
        }# end Script_OnStart()
</your globa.asa>

What I've been trying to do is not dramatically different from that. I've been trying to save a calculated value to $Application->{foo}, and print it out later in some of the .asp files. Its failure to work is what prompted my original post.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to