John Drago > Apache2-ASP-1.41 > Apache2::ASP::FormHandler

Download:
Apache2-ASP-1.41.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Source   Latest Release: Apache2-ASP-2.42

NAME ^

Apache2::ASP::FormHandler - Base class for all "form" handlers.

SYNOPSIS ^

  package MyFormHandler;
  
  use strict;
  use base 'Apache2::ASP::FormHandler';
  
  use vars qw(
    %modes
    $Request $Response
    $Session $Application
    $Server $Form
    $Config
  );
  
  sub run
  {
    my ($s, $asp) = @_;
    
    # Do stuff, then:
    $Response->Redirect("/anotherpage.asp");
    
    # When the user gets to '/anotherpage.asp' all fields with names that
    # match a key in $Form will be filled out, automatically.
  }# end run()
  
  1;

DESCRIPTION ^

If your Handler processes form data that should be automatically filled in on another page's form fields, then make sure it is derived from Apache2::ASP::FormHandler.

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 mailto:jdrago_999@yahoo.com

COPYRIGHT AND LICENSE ^

Copyright 2007 John Drago, All rights reserved.

This software is free software. It may be used and distributed under the same terms as Perl itself.