Oracle9iAS Portal Developer Kit

get_session_start_time function

Contained in package wwctx_api.

Call this function to get the time that the current session started.

function get_session_start_time

return date;

Version: Oracle9iAS Portal 9.0.2 or later

Returns:

This function returns the date and time when the session began.

Exceptions:

  • If no session is found, NO_SESSION_EXCEPTION is raised.
  • If the cookie is corrupt, INVALID_COOKIE_EXCEPTION is raised.
  • If the Single Sign-On configuration is not correct, SSO_CONFIG_EXCEPTION is raised.
  • If the remote session is missing, NO_REMOTE_SESSION_EXCEPTION is raised.
  • If local node information is missing, NO_LOCAL_NODE_EXCEPTION is raised.

Example:

l_time date;
l_time := wwctx_api.get_session_start_time;

Related topics

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