Oracle9iAS Portal Developer Kit

Session storage API package

The methods of the wwsto_api_session API package provide access to a server-side, session-based, storage mechanism that can be used to store small amounts of information for short durations of time. When the user's session ends, this information is automatically removed from the system.

Note: It is recommended that provider implementations do not exist in the same schema as Oracle Portal. Therefore, calls to load_session and drop_session methods must be prefixed by the Oracle Portal owner schema, e.g. portal30.wwsto_api_session.load_session. The Portal owner schema must also be prefixed whenever a session object is defined, e.g. l_user_obj portal30.wwsto_api_session.

This topic presents method names and descriptions and reference topics.

Session storage API (wwsto_api_session) method names and descriptions

Session storage API

Presents an overview of the session storage API package.

load_session static function

Loads and then returns a copy of a session store object.

save_session member procedure

Saves session data.

drop_session static procedure

Removes the content of a session store object.

dump_session member procedure

Dumps the content of a session store object to an output buffer.

get_domain function

Returns the domain of a session store object.

get_sub_
domain member function

Returns the subdomain of a session store object.

get_attribute_as_date member function

Returns the value of a date attribute.

get_attribute_as_
number member function

Returns the value of a numeric attribute.

get_attribute_as_
varchar2 member function

Returns the value of a varchar2 attribute.

get_attribute_as_
string member function

Returns the value of a string attribute.

set_attribute member procedure (date)

Sets the date value of an attribute.

set_attribute member procedure (number)

Sets the numeric value of an attribute.

set_attribute member procedure (varchar2)

Sets the varchar2 value of an attribute.

set_attribute_as_
string member procedure

Sets the value of the attribute given a type-specific, NLS formatted string.

Reference topic names and descriptions

Session storage object attributes

Presents session storage object names and attributes.

 

Notes

  • A session is 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. It becomes an authenticated session at login.

Related topics

 

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