Share via


Session State Management Service

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Through the Session State Management service, Web Parts can share data with other parts (even if the Web Parts are located on other dashboards) through name-value pairs associated with the browser session. For simplicity and to avoid complex identification mechanisms, session state always is global and is retrieved synchronously.

A Web Part that has information to communicate publishes state information. After the information is posted, the Web Part can use the notification service previously described to alert other parts. Any part can retrieve the values that have been stored previously.

All session state methods are provided by the Digital Dashboard Services Component (DDSC) object.

Methods

Value GetSessionState (NamespaceURN, Name,);
PutSessionState (NamespaceURN, Name, Value, [optional] LONG Flags);
ClearSessionState (NamespaceURN, Name);

Parameters

  • NamespaceURN
    Identifies the schema.
  • Name
    Identifies the schema element.
  • Value
    The property value.
  • Flags
    Reserved for future use.
  • S_OK, E_FAIL, E_INVALIDARG
    Return values used for error handling.

See Also

Digital Dashboard Services Component | Session State Management Service Example | Part Discovery Service | Notification Service | State Management Service | Item Retrieval Service