Skip to content

Cookie Based Connection Persistency

About

The Cookie Based Connection Persistency action is generally used when it is desired to maintain connection persistence based on cookie information either during the request or response after a request is made to the vServices.

How to Add?

To add the Cookie Based Connection Persistency action from TR7 ASP web interface, "Traffic Manager > Traffic Manipulation > Actions > Add" steps are followed. At the current page Cookie Based Connection Persistency is selected as an Action Type and the following form is shown.

Applicable vServices

  • HTTP
  • L7 TCP
  • Network

Interface

LOGO

Cookie Based Connection Persistency Action Adding Form

- Action Name


Name for the action is entered.

- Action Type


Cookie Based Connection Persistency is selected.


Enter the name of the cookie that will provide connection persistence.

LOGO

If the written cookie does not exist, it will be created.

If there is a written cookie, it is combined.

If the written cookie exists, it is edited.

- Mark as HTTP Only


The added cookie is marked as "httpOnly". When marked as "httpOnly", it is protected from attacks such as XSS vulnerabilities. It is not selected by default.

- Mark as Secure


The added cookie is only sent to the vServices via an encrypted request over HTTPS. It is not selected by default.


Determines to which domain names the added cookies will belong. It is valid for subdomains as well. If no domain name is entered, it will be active for other domain names except subdomains.

- Create Indirectly


No identification information will be sent to the client that has a valid identification information for the Backend Service processing the request. It is selected by default.

- No Cache


It is used in cases where we want the cache to always check for content updates when reusing cached content. It is selected by default.

- Mark as Post Only


Ensures that it is performed only in responses given to "POST" requests. It is not selected by default.


Allows the Backend Service to publish its persistent cookie. If a cookie is found in the response, TR7 LB/WAF leaves this cookie untouched. It is not selected by default.


TR7 LB/WAF dynamically creates a cookie for each Backend Service based on its IP and Port information. It is selected by default.

- Max. Idle Time

LOGO

The maximum idle time of the cookie is determined.

LOGO

- Max. Life Time

LOGO

The maximum lifetime of the cookie is determined.

LOGO


It is used in to set flags for the cookies. For example SameSite=Strict can be used.

- Form Buttons

Add button can be clicked to add the configured action.

Add & Repeat button can be clicked to add the configured action. New similar actions can also be added without losing the current configuration by clicking this button. The following alert is shown when the button is clicked.

LOGO

Condition Status

Cookie Based Connection Persistency action does not require conditions.