Updated on 2024-03-19 GMT+08:00

Modifying Sticky Session Settings

Scenario

This section describes how you can modify the sticky session settings.

  • This section applies to dedicated and shared load balancers.
  • You can also configure sticky sessions when adding a listener or creating a backend server group.

Enabling Sticky Session

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Networking > Elastic Load Balance.
  4. In the navigation pane on the left, choose Elastic Load Balance > Backend Server Groups.
  5. On the Backend Server Groups page, locate the backend server group and click Edit in the Operation column.
  6. In the Modify Backend Server Group dialog box, enable sticky session, select the sticky session type, and set the session stickiness duration.
  7. Click OK.

Disabling Sticky Session

  1. Log in to the management console.
  2. In the upper left corner of the page, click and select the desired region and project.
  3. Hover on in the upper left corner to display Service List and choose Networking > Elastic Load Balance.
  4. In the navigation pane on the left, choose Elastic Load Balance > Backend Server Groups.
  5. On the Backend Server Groups page, locate the backend server group and click Edit in the Operation column.
  6. In the Modify Backend Server Group dialog box, disable sticky session.
  7. Click OK.