Oracle9iAS Portal Developer Kit

save_session procedure

Contained in package wwa_api_module_session.

Call this procedure to save form component session data persistently.

If you use get_session/load_session to retrieve form component session data and then make changes to the session data, the changes are not updated/saved in the database until you invoke save_session.

member procedure save_session

Version: Oracle Portal 3.0.9

Exceptions:

Any exception raised, is raised to the calling program.

Example:

Consider a form component session (id = 77) previously created and stored in the database using create_session. To retrieve the session, make changes to the session data and then save the changes:

declare
    l_session wwa_api_module_session;
begin
    l_session := <portal_schema>.wwa_api_module_session.get_session(p_id => 77);
   /*****
        Make changes to l_session here ...
   *****/
   --- Save the changes
   l_session.save_session;
end;

Related topics

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