You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/application-gateway/application-gateway-secureflag-sessionaffinity.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,12 @@ ms.author: jaysoni
11
11
---
12
12
13
13
# 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)
15
15
16
16
17
17
## 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).
20
20
21
21
## Creating a Rewrite set
22
22
@@ -26,7 +26,7 @@ In this guide you will learn to create a Rewrite set for your Application Gatewa
26
26
1. Select Rewrite set.
27
27
1. Under the Name and Association tab
28
28
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.
30
30
1. Select Next.
31
31
1. Select "Add rewrite rule"
32
32
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
40
40
1. Case-sensitive - No
41
41
1. Operator - equal (=)
42
42
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.
45
45
1. Rewrite type - Response header
46
46
1. Action type - Set
47
47
1. Header name - Common header
48
48
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**
51
51
1. Select Update to save the rewrite set configurations.
0 commit comments