Oracle9iAS Portal Developer Kit

get_server_protocol function

Contained in package wwctx_api.

Call this function to get the Web server's protocol.

Notes:

  • This function returns the string HTTP or HTTPS, depending on which protocol was used for the current page request.

  • If the current context is not a Web session, HTTP is returned.

function get_server_protocol

return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Returns:

This function returns the server's protocol: HTTP or HTTPS.

Exceptions:

This function raises no user-defined exceptions.

Example:

l_process_path := wwctx_api.get_server_protocol;

Note

A protocol is a set of rules that regulates how data is transmitted between computers.

Related topics

The PL/SQL API Reference is part of the Portal Developer Kit on Portal Studio