Oracle9iAS Portal Developer Kit

get_login_url function

Contained in package wwsec_app_priv.

Call this function to provide applications with the URL to the user Login Page. Use this function whenever a URL to the user Login Page must be obtained.

function get_login_url

(

p_requested_url in varchar2 default wwctx_api.get_product_schema || '.home',

p_cancel_url in varchar2 default wwctx_api.get_product_schema || '.home'

);

return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_requested_url

The location of the user Login Page.

Note: This parameter allows an application to specify a page to be displayed after authentication.

Datatype: in varchar2
Default: wwctx_api.get_product_schema || '.home'

p_cancel_url

Specifies a page to be displayed when the user cancels authentication.

Datatype: in varchar2
Default: wwctx_api.get_product_schema || '.home'

Returns:

This function returns the user Login Page URL as text or as an HTTP formatted hyperlink.

Exceptions:

This function raises no exceptions. If an error occurs, the function returns null.

Example:

declare

l_url varchar2(100);

begin

l_url := wwsec_app_priv.get_login_url

end;

Related topics

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