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?
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?
Having never used oracle or htp, I can't provide much help, but a bit of googling suggests you can use procedure utl_http.get_header
, and the particular header you are interested in would be User-Agent
.
I suggest looking up the utl_http package for more information.