Configure session management
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 Web modules below it.
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.
Note: When you overwrite the default session management settings on the application level, all the Web modules below that application inherit this new setting unless they too are set to overwrite these settings.
To configure session management, perform these steps:
Start the administrative console.
Select the level to which this configuration applies:
- For the Web container level:
- Click Servers --> Application Servers.
- Click the name of the server in which the Web container runs.
- Under Additional Properties, click Web Container.
- Under Additional Properties, click Session Management.
- For the enterprise application level:
- Click Applications --> Enterprise Applications.
- Click the name of the application.
- Under Additional Properties, click Session Management.
- For the Web module level:
- Click Applications --> Enterprise Applications.
- Click the name of the application.
- Under Related Items, click Web Modules.
- Under Additional Properties, click Session Management.
If you are working on the Web module or enterprise application level and want these settings to override the inherited Session Management settings, select Overwrite.
Specify which session tracking mechanism you want to pass the session ID between the browser and the servlet:
- To track sessions with SSL information, click Enable SSL ID tracking.
- To track sessions with cookies, click Enable Cookies. To change the cookie settings, click Cookies.
- To track sessions with URL rewriting, click Enable URL Rewriting. If you want to enable protocol switch rewriting, click Enable protocol switch rewriting.
Configure other settings or accept the default values. For more information, see Session Management settings
(Optional) Configure distributed sessions for session recovery support.
(Optional) Configure session tracking for Wireless Application Protocol devices.
Click Apply and Save.