Practical mod_perl / HTML Book /



previous page: B.18.1. Apache::Session—Maintain Session State Across HTTP Requests
  
page up: HTML Version of the book
  
next page: B.18.3. Apache::Cookie—HTTP Cookies Class

B.18.2. Apache::RequestNotes—Easy, Consistent Access to Cookie and Form Data Across Each Request Phase


Apache::RequestNotes provides a simple interface allowing all phases of the request cycle access to cookie or form input parameters in a consistent manner. Behind the scenes, it uses libapreq (Apache::Request) functions to parse request data and puts references to the data in pnotes( ).

Once the request is past the PerlInitHandler phase, all other phases can have access to form input and cookie data without parsing it themselves. This relieves some strain, especially when the GET or POST data is required by numerous handlers along the way.

Available from CPAN. See the module manpage for more information.

 

Continue to:

  • prev: B.18.1. Apache::Session—Maintain Session State Across HTTP Requests
  • Table of Contents
  • next: B.18.3. Apache::Cookie—HTTP Cookies Class







TOP
previous page: B.18.1. Apache::Session—Maintain Session State Across HTTP Requests
  
page up: HTML Version of the book
  
next page: B.18.3. Apache::Cookie—HTTP Cookies Class


Menu

  • HTML Book
  • PDF Book
  • Download Code
  • Table of Contents
  • Errata
  • mod_perl2 User's Guide
  • Sitemap

Search


Add to Google




Creative Commons License


Written by
Eric Cholet (Logilune) and
Stas Bekman (StasoSphere & Free Books).


[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007 StasoSphere.com