Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: How to find Brower name in mod_perl

by wazoox (Prior)
on Nov 18, 2009 at 12:58 UTC ( #807901=note: print w/replies, xml ) Need Help??

in reply to How to find Brower name in mod_perl

I don't know anything about modperl, however it looks like you need to use Apache2::Filter and use it to extract the user agent from the headers, something like :

See the Modperl documentation for more information.

Replies are listed 'Best First'.
Re^2: How to find Brower name in mod_perl
by perrin (Chancellor) on Nov 18, 2009 at 18:34 UTC
    You don't need filter. You use the request object, usually called $r, which you get passed in the beginning of your handler. It's what you get back from $f->r() there. If you're using ModPerl::Registry, it will also be in %ENV.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://807901]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2021-04-17 05:27 GMT
Find Nodes?
    Voting Booth?

    No recent polls found