Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PL/SQL: How to detect which browser is being used?

I'm using the pl/sql htp package to create simple web pages. Now I need to use different templates based on the device accessing the pages (Desktop Browser or Mobile Blackberry Client ).

Is this possible in pl/sql?

like image 694
Federico Elles Avatar asked Dec 14 '09 08:12

Federico Elles


1 Answers

This will tell you:

owa_util.get_cgi_env('HTTP_USER_AGENT')
like image 84
Tony Andrews Avatar answered Sep 24 '22 14:09

Tony Andrews