Show TOC

Configuring Session ManagementLocate this document in the navigation structure

Use

Interoperability between an SAP NetWeaver Portal and any other portal is accomplished by running SAP Portal iViews in an inner iFrame. Your company portal initiates the logon with the SAP NetWeaver Portal, thereby starting a new session on the SAP Portal side, and with its connected back-end systems.

To enable the SAP Portal to run back-end transaction applications, the following tasks must be handled for each session:

  • Log off:

    When a user logs off from your company portal by choosing the Log Off button, a logoff action should be triggered on the SAP Portal side (portal and connected back-end systems).

    Although SAP NetWeaver Portal comes with an out-of-the-box mechanism that terminates a session when the user closes the browser or navigates out of the SAP iFrame, the mechanism does not handle logoff. Instead, your company portal must raise the terminating event when logging off from the SAP Portal. To do so, the JavaScript code found in the Appendix of this document should be integrated as part of the Logoff button

  • Closing the browser:

    When the user closes the browser without logging off, a logoff on the SAP Portal side should be triggered as well.

  • Navigating away:

    Navigating out of the SAP iFrame in your company portal should trigger a logoff on the SAP Portal side.

  • Session timeout:

    The session timeout period should be synchronized between the SAP NetWeaver Portal and your company portal.

    To set the SAP Portal timeout value, perform the following steps:

    1. Shut down the system.

    2. Open the Config Tool from the following location:

      C:\usr\sap\<SID>\J<instance no.>\j2ee\configtool\configtool.bat

    3. Choose Start of the navigation path View Next navigation step Expert Mode End of the navigation path

    4. Navigate to Start of the navigation path Services Next navigation step servlet_jsp End of the navigation path

    5. In the Key column, scroll down to the following parameter: Global_app_config/session_config/sessionTimeout

    6. In the Custom Value field, enter the timeout value and choose Set Custom Value .

    7. Save and then restart the system.