The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Apache2::ASP::HTTPContext - Contextual execution harness for ASP scripts.

SYNOPSIS

  # Get the original mod_perl '$r' object:
  my Apache2::RequestRec $r = $context->r;
  
  # Get the other traditional ASP objects:
  my $Config      = $context->config;
  my $Request     = $context->request;
  my $Response    = $context->response;
  my $Server      = $context->server;
  my $Session     = $context->session;
  my $Application = $context->application;
  
  # Get the current context object from anywhere within your application:
  my $context = Apache2::ASP::HTTPContext->current;

DESCRIPTION

STATIC PROPERTIES

current

Returns the "current" HTTPContext instance.

PUBLIC PROPERTIES

r

Returns the current Apache2::RequestRec object.

NOTE: while in "API" or "Testing" mode, r returns the current Apache2::ASP::Mock::RequestRec object.

config

Returns the current Apache2::ASP::Config object.

request

Returns the current Apache2::ASP::Request object.

response

Returns the current Apache2::ASP::Response object.

server

Returns the current Apache2::ASP::Server object.

session

Returns the current Apache2::ASP::Session object.

application

Returns the current Apache2::ASP::Application object.

BUGS

It's possible that some bugs have found their way into this release.

Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-ASP to submit bug reports.

HOMEPAGE

Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.

AUTHOR

John Drago <jdrago_999@yahoo.com>

COPYRIGHT

Copyright 2008 John Drago. All rights reserved.

LICENSE

This software is Free software and is licensed under the same terms as perl itself.