| Session context API package

Related topics
The wwctx_api session context API package provides the methods necessary to manage a session context for a specific authenticated user. This context is established when a user logs in to Oracle9iAS Portal. This topic presents method names and descriptions, and reference topics.
Session context API (wwctx_api) topic names and descriptions
Session context constants and system variables | Presents the constants and system variable types and names in the session context package.
Session context exceptions | Presents exceptions that may be raised.
CGI environment variables | Presents functions that return various CGI environment variables that can be cached.
get_user function | Returns the user name of the current Oracle Portal user.
get_company_name function | Returns the company name associated with an Oracle Portal user.
get_subscriber_id function | Determines the subscriber ID of an Oracle Portal user.
get_db_user function | Returns the database user name for the current Oracle Portal authorized user.
get_nls_language function | Returns the NLS language used by the current Oracle Portal user.
get_http_language function | Returns the HTTP language used by the current Oracle Portal user.
get_nls_territory function | Returns the NLS territory used by the current Oracle Portal user.
get_translation_language function | Returns the translation language used by the current Oracle Portal user.
get_user_id function | Returns the user ID of the user currently logged in.
get_ip_address function | Returns the IP address of the current Oracle Portal user.
is_logged_on function | Returns a boolean indicator showing if the user is logged in.
logged_on function | Indicates whether the user is logged in, and returns a number instead of a Boolean value so the value returned can be used as a condition for creating a view.
get_login_time function | Returns the time that the current user logged in to Oracle Portal.
get_product_schema function | Returns the name of the schema in which Oracle Portal is installed.
get_public_schema function | Returns the name of the public schema.
get_public_user function | Returns the name of the current public user.
get_sessionid function | Returns the identifier for the current session established for the browser connection.
get_sso_schema function | Returns the Single Sign-On schema name.
get_proxy_server function | Returns the name of the proxy server.
get_proxy_port function | Retrieves the port number of the proxy server.
get_product_version function | Returns the version string for the installation of Oracle Portal on the current node.
get_image_path function | Returns the path to an image file.
get_direct_doc_path function | Returns the path to a file stored in the Oracle Portal repository.
get_bidi_imagename function | Returns the correct image for a particular user language.
get_proc_path function | Returns a fully qualified URL for a procedure, from a specified partial URL.
get_flex_proc_path function | Returns a fully qualified URL for flexible parameter passing from a specified partial URL.
get_server_protocol function | Returns the Web server's protocol: http or https.
get_host function | Returns the host server name and port.
get_host_lowercase function | Returns the host server name and port, in lowercase.
get_sso_proc_path function | Returns a fully qualified URL for the Single Sign-On Server, given a relative URL.
get_sso_query_path function | Returns the URL prefix to use for HTTP queries to the Single Sign-On Server.
get_servlet_path function | Returns a fully qualified URL to the Parallel Filter servlet.
is_session_authenticated function | Checks whether a session ID is a valid authenticated session.
is_proxy_required function | Checks whether a proxy is required for a given URL.
get_last_updated function | Returns the time that the current session was last updated.
get_session_start_time function | Returns the time that the current session started.
is_in_login_server function | Checks whether the current procedure is in the Single Sign-On Server.
get_sso_product_version function | Returns the version string for the SSO Server installation.
set_context procedure | Sets the context for the current browser session.
clear_context procedure | Clears the context information set by a previous call to the set_context function.
is_context_set function | Returns whether a session context is set for the current session.
get_system_var_value | Returns the value of an external system variable given its name.
get_system_var_names | Returns the set of external system variable names.
validate_system_var_name | Returns the set of external system variable names.
get_cookie_domain function | Validates a given system variable name.

Notes
Context refers to those user-specific settings that are established when an Oracle Portal user logs in. The settings do not change during the session. Session refers to an uninterrupted connection between a browser and Oracle Portal, from initial access to log off or disconnect. The session is established as a public session upon initial access and becomes an authenticated session upon login.

Related topics
PDK PL/SQL API Reference - Home |

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