Oracle9iAS Portal Developer Kit

get_logout_link function

Contained in package wwsec_app_priv.

Call this function to return the anchor tag that generates the log-off hyperlink.

function get_logout_link

(

p_nls_link_text in varchar2 default null,

p_image_filename in varchar2 default null,

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

)

return varchar2;

Version: Oracle Portal 3.0.6.6.5 or later

Parameters:

p_nls_link_text

The text to be displayed for the log-off link.

Datatype: in varchar2
Default: null

p_image_filename

The image to be displayed for the log-off link.

Datatype: in varchar2
Default: null

p_done_url

The page to display after logging off.

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

Returns:

This function returns an anchor tag that generates the logout link for Oracle Portal.

Exceptions:

This function raises no exceptions.

Example:

if wwctx_api.is_logged_on then

wwsec_app_priv.get_logout_link

(

  p_done_url=>'home'

);

...

Related topics

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