Configuring session management by level

When you configure session management at the web container level, all applications and the respective web modules in the web container normally inherit that configuration, setting up a basic default configuration for the applications and included web modules. However, you can set up different configurations individually for specific applications and web modules that vary from the web container default. These different configurations override the default for these applications and web modules only.

About this task

An enterprise application can contain web modules, and so can an OSGi application. At the web container level and at the application level, the process for configuring HTTP sessions is the same whether the web module is part of an enterprise application or an OSGi application. For enterprise applications only, you can also configure HTTP sessions at the web module level.

Note: When you overwrite the default session management settings at the application level, all of its web modules now inherit the new setting unless they too are set to overwrite these settings.
避免困難 避免困難: 階段作業管理配置是一項後置部署配置,關聯於現有的目標。 如果在配置階段作業管理之後,又變更目標對映,您必須返回管理主控台的階段作業管理配置頁面,或利用 wsadmin Scripting,套用這些變更。 如果配置了 Web 模組的階段作業管理,請將這些變更套用於模組目標。 如果配置了應用程式層次的階段作業管理,請將這些變更套用於所有目標。gotcha

Procedure

  1. Open the administrative console.
  2. Change the configuration for the web container, enterprise application, or web module level. The following substeps explain how to access the configuration panels for each of these levels.
    • Complete the following substeps for the web container level:
      1. Click Servers > Server Types > WebSphere application servers > server_name.
      2. Under Container Settings, expand Web Container Settings and click Web container.
      3. Under Additional Properties, click Session management.
    • Complete the following substeps for the application level:
      If the application is an enterprise application:
      1. Click Applications > Application Types > WebSphere enterprise applications > application_name.
      2. Under Web Module Properties, click Session management.
      If the application is an OSGi application:
      1. Click Applications > Application Types > Business-level applications > application_name > eba_asset_name.
      2. Under Additional Properties, click Session management.
    • Complete the following substeps for the web module level, if the application is an enterprise application:
      1. Click Applications > Application Types > WebSphere enterprise applications > application_name.
      2. Under Modules, click Manage Modules > module_name.
      3. Under Additional Properties, click Session Management.
  3. Manage sessions by configuring session tracking, session timeouts and serializing access.
  4. If you are working at the web module or application level and want these settings to override the inherited Session Management settings, under General Properties select Override session management.
  5. Click Apply and Save.

指出主題類型的圖示 作業主題



時間戳記圖示 前次更新: July 9, 2016 11:16
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=tprs_cnfs
檔名:tprs_cnfs.html