books
Free Books / Computers / Practical mod_perl /

previous page: Appendix A. mod_perl Recipes
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: A.2. Reusing Data from POST Requests

A.1. Emulating the Authentication Mechanism




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

You can authenticate users with your own mechanism (instead of the standard one) but still make Apache think that the user was authenticated by the standard mechanism. Set the username with:

$r->connection->user('username');

Now you can use this information, for example, during logging, so that you can have your "username" passed as if it was transmitted to Apache through HTTP authentication.

 

Continue to:

  • prev: Appendix A. mod_perl Recipes
  • Table of Contents
  • next: A.2. Reusing Data from POST Requests

Books by Stas Bekman:















TOP
previous page: Appendix A. mod_perl Recipes
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: A.2. Reusing Data from POST Requests

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

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

© 2007-2021 StasoSphere.com