Re: Getting Client Browser type from Web Server 2.1 (and other header info)

From: Thomas Kyte <>
Date: 1997/05/16
Message-ID: <337bbbd0.1982080_at_newshost>#1/1

On Fri, 16 May 1997 03:29:34 -0500, Ken Parker <kparker_at_anti.spam> wrote:

>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....


>Ken Parker

Thomas Kyte
Oracle Government
Bethesda MD -- downloadable utilities

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Fri May 16 1997 - 00:00:00 CEST

Original text of this message