Read User Agent


#1

Does anyone know how to read the user agent from a controller ?

Thanks


#2

Use @request.env[‘HTTP_USER_AGENT’]

Alex A. wrote:

Does anyone know how to read the user agent from a controller ?

Thanks


Sau S.


http://read.saush.com
http://jaccal.sourceforge.net