Hello, As you have been tool, user agent information is not 100% reliable. Formerly, object detection was the way to go, but this is also broken since Gecko and others faked the implementation of some objects (for instance, document.all). I think if someone fakes his user agent he is liable for the damage and carry on with the consequences (i. e. not being able to view the website properly). What you should never do is have your security depend on browser detection as that is always fake-able (even if the evil guy has to recompile Mozilla to say it is Internet Explorer SuperSecureEdition). That being said, you can use my Javascript Browser Sniffer library to detect the browser: http://jsbrwsniff.sourceforge.net. You can use it on the client side (Javascript is executed on the client) or on the server side (Javascript is executed on the server, this only works with IIS/ASP as long as I now). -- Pau Garcia i Quiles http://www.elpauer.org (Due to the amount of work, I usually need 10 days to answer) Quoting Veera Sundaravel <veeraa2003 / yahoo.co.in>: > HI everybody, > > I'm newbie to ruby. I want to get user's browser and OS information like > getting ip address using request.remote_ip. Is it possible. > > Regards, > Veeraa. > > -- > Posted via http://www.ruby-forum.com/. > >