Oracle9iAS Portal Developer Kit

get_id function

Contained in package wwa_api_module_session.

Call this function to return a form component session ID, created using create_session. This ID can subsequently be used with the get_session, load_session and drop_session methods.

member function get_id
return integer,

Version: Oracle Portal 3.0.9

Return:

This function returns a form component session ID.

Exceptions:

None.

Example:

Consider an Oracle Portal form component based on the SCOTT.EMP table (module_id=7). To create a session for this form component, you need to know the ID of the session data created:

declare
    l_session wwa_api_module_session;
    l_session_id integer;
begin
    l_session := <portal_schema>.wwa_api_module_session.create_session (
                           p_module_id => 7,
                           p_version  => 1
                       );
    l_session_id := l_session.get_id;

Related topics

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