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
Cookie Based Connection Persistency Form
- Action Name
Name for the action is entered.
- Action Type
Cookie Based Connection Persistency is selected.
- Cookie Action
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.
- Cookie Domain
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.
- Preserve Cookie
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.
- Cookie is Dynamic
TR7 LB/WAF dynamically creates a cookie for each Backend Service based on its IP and Port information. It is selected by default.
- Cookie Attribute
It is used in to set flags for the cookies. For example SameSite=Strict can be used.
- Form Buttons
Condition Status
Cookie Based Connection Persistency action does not require conditions.