Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Getting Client Browser type from Web Server 2.1 (and other header info)
On Fri, 16 May 1997 03:29:34 -0500, Ken Parker <kparker_at_anti.spam> wrote:
>Hi,
>
>I'm trying to find a way, with any toolset - pro*c, c, pl/sql, j/sql,
>whatever..., to get the client's browser type and dynamically serve
>different pages using Web Server 2.1. Anyone know how?
>
In pro*c:
client = getenv( 'HTTP_USER_AGENT' );
In pl/sql:
client := owa_util.get_cgi_env( 'HTTP_USER_AGENT' );
this is in the cgi environment. Check out the routine owa_util.print_cgi_env to dump the environment and see whats there....
[snip]
>
>Thanks!
>
>Ken Parker
>kparker_at_bacadv.com
Thomas Kyte
tkyte_at_us.oracle.com
Oracle Government
Bethesda MD
http://govt.us.oracle.com/ -- downloadable utilities