mod_perl Apache2::RequestRec [detecting connection abort]

Discussion in 'Apache' started by No More Adsense, Mar 25, 2011.

  1. #1
    I want to figure out how to get or create Apache2::RequestRec object

    
    $c = $r->connection();
    
    Code (markup):
    is what i want to do. But first i need to get or create $r object. It would be great if someone could show me some example. I tried googling it but haven't found anything.
    http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html didn't gave me any clue or am i missing something ?
     
    No More Adsense, Mar 25, 2011 IP