Session Grace Period and Update Period Settings

The following topics explain how to set the session grace and update period settings.
sm1252sp1
The following topics explain how to set the session grace and update period settings.
Modify the Session Grace Period
Web pages usually consist of many resources, all of which are potentially protected by the Web Agent. For each resource associated with a single request, a session (SMSESSION) cookie is generated by default. When the Agent generates multiple session cookies for a single user request, this action causes overhead. To eliminate the overhead, set the following parameter:
SessionGracePeriod
Specifies the number of seconds the agent waits from the last accessed time of the received session cookie before it generates a new session cookie. Set the SessionGracePeriod to 0 to disable the setting. If the setting is disabled, the agent updates session cookies for every request. If the setting is enabled, the agent skips cookie generation when the following conditions are met:
  • Last access time + IdleTimeout value > Current time + 2(SessionGracePeriod)
  • Current time - Last access time < SessionGracePeriod
The value of session grace period must be less than half of the idle timeout value. If not, session cookie is updated for each request though a resource is accessed within the specified session grace period.
Default
: 30 seconds
Follow these steps:
  1. Log in to the Administrative UI.
  2. Edit the ACO for the Agent you want to modify.
  3. Set a new value for the SessionGracePeriod parameter.
    If you increase the value of the grace period, verify that the SessionGracePeriod value is
    less than
    the idle timeout values for all realms. If the SessionGracePeriod value is greater than the idle timeout values, the Web Agent does not update a session cookie often enough to manage properly the idle timeout. The result is that the Agent might challenge users for being idle when they were not.
  4. Save the changes.
Modify the Session Update Period
You can specify how often the Web Agent redirects a request to the Cookie Provider to set a new cookie using the
SessionUpdatePeriod
parameter.
This parameter specifies how often (in seconds) a Web Agent redirects a request to the Cookie Provider to set a new cookie. Refreshing the master cookie decreases the possibility that it will expire due to an idle time-out of the session. The default is 60 seconds.
To modify the session update period:
  1. Log in to the Administrative UI.
  2. In the ACO for your Agent, verify that the
    CookieProvider
    parameter is defined.
  3. Change the number of seconds in the
    SessionUpdatePeriod
    parameter to reflect the interval you want.
  4. Save your changes.
Setting this parameter to 0 disables the setting. A session update period of 0 disables the periodic updates of sessions at the cookie provider. Sessions are updated for other reasons, but only the periodic forced updates are disabled.