Skip to content

Commit d8a2a3e

Browse files
committed
acrolinx
1 parent 5b65397 commit d8a2a3e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/application-gateway/application-gateway-secureflag-sessionaffinity.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ ms.author: jaysoni
1111
---
1212

1313
# Setting HTTPOnly or Secure flag for Session Affinity cookie
14-
In this guide you will learn to create a Rewrite set for your Application Gateway and configure Secure and HttpOnly [ApplicationGatewayAffinity cookie](configuration-http-settings.md#cookie-based-affinity)
14+
In this guide you learn to create a Rewrite set for your Application Gateway and configure Secure and HttpOnly [ApplicationGatewayAffinity cookie](configuration-http-settings.md#cookie-based-affinity)
1515

1616

1717
## Prerequisites
18-
* Before you begin, you must have an Azure subscription. If not, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
19-
* An existing Application Gateway resource configured with at least one Listener, Rule, Backend Setting and Backend Pool configuration. If you do not have one, you can create one by following the [QuickStart guide](quick-create-portal.md).
18+
* You must have an Azure subscription. You can create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
19+
* An existing Application Gateway resource configured with at least one Listener, Rule, Backend Setting and Backend Pool configuration. If you don't have one, you can create one by following the [QuickStart guide](quick-create-portal.md).
2020

2121
## Creating a Rewrite set
2222

@@ -26,7 +26,7 @@ In this guide you will learn to create a Rewrite set for your Application Gatewa
2626
1. Select Rewrite set.
2727
1. Under the Name and Association tab
2828
1. Specify a name for this new rewrite set.
29-
1. Select the routing rule(s) for which you wish to rewrite the ApplicationGatewayAffinity cookie's flag.
29+
1. Select the routing rules for which you wish to rewrite the ApplicationGatewayAffinity cookie's flag.
3030
1. Select Next.
3131
1. Select "Add rewrite rule"
3232
1. Enter a name for the rewrite rule.
@@ -40,14 +40,14 @@ In this guide you will learn to create a Rewrite set for your Application Gatewa
4040
1. Case-sensitive - No
4141
1. Operator - equal (=)
4242
1. Pattern to match - (.*)
43-
1. Select Ok to save these details.
44-
1. Go to the Then box to specify action details.
43+
1. To save these details, select **OK**.
44+
1. Go to the **Then** box to specify action details.
4545
1. Rewrite type - Response header
4646
1. Action type - Set
4747
1. Header name - Common header
4848
1. Common header - Set-Cookie
49-
1. Header value - {http_resp_Set-Cookie_1}; HttpOnly ; Secure
50-
1. Select Ok
49+
1. Header value - {http_resp_Set-Cookie_1}; HttpOnly; Secure
50+
1. Select **OK**
5151
1. Select Update to save the rewrite set configurations.
5252

5353

0 commit comments

Comments
 (0)