NAME
ASP4::GlobalASA - Application event handler
SYNOPSIS
package DefaultApp::GlobalASA;
use strict;
use warnings 'all';
use base 'ASP4::GlobalASA';
use vars __PACKAGE__->VARS;
sub Script_OnStart {
warn "Script_OnStart!";
}
sub Script_OnEnd {
warn "Script_OnEnd!";
}
sub Session_OnStart {
warn "Session_OnStart!";
}
1;# return true:
DESCRIPTION
The GlobalASA handles 3 kinds of events:
Script_OnStart
Called after all objects have been initialized, but before the request is processed by its handler (or page).
Script_OnEnd
Called at the end of a request.
Session_OnStart
Called when a session is first created.
BUGS
It's possible that some bugs have found their way into this release.
Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=ASP4 to submit bug reports.
HOMEPAGE
Please visit the ASP4 homepage at http://0x31337.org/code/ to see examples of ASP4 in action.