| ASP4 documentation | Contained in the ASP4 distribution. |
ASP4::GlobalASA - For reverse compatibility only.
DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.
package MyApp::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:
DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.
The GlobalASA handles 3 kinds of events:
DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.
Called after all objects have been initialized, but before the request is processed by its handler (or page).
DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.
Called at the end of a request.
DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.
Called when a session is first created.
DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.
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.
Please visit the ASP4 homepage at http://0x31337.org/code/ to see examples of ASP4 in action.
| ASP4 documentation | Contained in the ASP4 distribution. |
package ASP4::GlobalASA; use strict; use warnings 'all'; use base 'ASP4::HTTPHandler'; use vars __PACKAGE__->VARS; sub Script_OnStart { } sub Script_OnEnd { } sub Session_OnStart { } 1;# return true: