You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2002/11/29 05:15:52 UTC

cvs commit: modperl-docs/src/docs/2.0/user/handlers general.pod

stas        2002/11/28 20:15:52

  Modified:    src/docs/2.0/user config.cfg
  Added:       src/docs/2.0/user/handlers general.pod
  Log:
  a new doc: for general handlers issues
  
  Revision  Changes    Path
  1.15      +1 -0      modperl-docs/src/docs/2.0/user/config.cfg
  
  Index: config.cfg
  ===================================================================
  RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/config.cfg,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- config.cfg	2 Sep 2002 06:40:29 -0000	1.14
  +++ config.cfg	29 Nov 2002 04:15:52 -0000	1.15
  @@ -34,6 +34,7 @@
           handlers/protocols.pod
           handlers/http.pod
           handlers/filters.pod
  +        handlers/general.pod
       )],
   
       group    => 'Troubleshooting',
  
  
  
  1.1                  modperl-docs/src/docs/2.0/user/handlers/general.pod
  
  Index: general.pod
  ===================================================================
  =head1 NAME
  
  General Handlers Issues
  
  =head1 Description
  
  This chapter discusses issues relevant too any kind of handlers.
  
  =head1 Handlers Communication
  
  Apache handlers can communicate between themselves by writing and
  reading notes. It doesn't matter in what language the handlers were
  implemented as long as they can access the notes table.
  
  For example inside a request handler we can say:
  
    my $r = shift;
    my $c = $r->connection;
    $c->notes->set(mod_perl => 'rules');
  
  and then later in a mod_perl filter handler this note can be retrieved
  with:
  
    my $f = shift;
    my $c = $f->connection;
    my $is = $c->notes->get("mod_perl");
    $f->print("mod_perl $is");
  
  
  =head1 Maintainers
  
  Maintainer is the person(s) you should contact with updates,
  corrections and patches.
  
  =over
  
  =item *
  
  Stas Bekman E<lt>stas (at) stason.orgE<gt>
  
  =back
  
  
  =head1 Authors
  
  =over
  
  =item *
  
  =back
  
  Only the major authors are listed above. For contributors see the
  Changes file.
  
  
  
  =cut
  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org