ASP4::GlobalASA - For reverse compatibility only.


ASP4 documentation  | view source Contained in the ASP4 distribution.

Index


NAME

Top

ASP4::GlobalASA - For reverse compatibility only.

SYNOPSIS

Top

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:

DESCRIPTION

Top

DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.

The GlobalASA handles 3 kinds of events:

Script_OnStart

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).

Script_OnEnd

DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.

Called at the end of a request.

Session_OnStart

DEPRECATED - DO NOT USE THIS IN NEW APPLICATIONS.

Called when a session is first created.

BUGS

Top

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.

HOMEPAGE

Top

Please visit the ASP4 homepage at http://0x31337.org/code/ to see examples of ASP4 in action.


ASP4 documentation  | view source Contained in the ASP4 distribution.