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/cosmos-db/how-to-convert-session-token.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,14 @@ ms.author: vitrinh
13
13
This article explains how to convert between different session token formats to ensure compatibility between SDK versions.
14
14
15
15
> [!NOTE]
16
-
> By default, the SDK keeps track of the session token automatically and it will use the most recent session token. For more information, please visit [Utilize session tokens](how-to-manage-consistency.md#utilize-session-tokens). This article only applies to the following conditions:
17
-
> *The Azure Cosmos DB account has Session consistency
18
-
> *The session tokens are managed manually
19
-
> *Multiple versions of the SDK are used at the same time
16
+
> By default, the SDK keeps track of the session token automatically and it will use the most recent session token. For more information, please visit [Utilize session tokens](how-to-manage-consistency.md#utilize-session-tokens). The instructions in this article only apply with the following conditions:
17
+
> *Your Azure Cosmos DB account uses Session consistency.
18
+
> *You are managing the session tokens are manually.
19
+
> *You are using multiple versions of the SDK at the same time.
20
20
21
21
## Session token formats
22
22
23
-
There are two session token formats: **simple** and **vector**. These two formats are not interchangeable and will need to be converted when passing to the client with different versions.
23
+
There are two session token formats: **simple** and **vector**. These two formats are not interchangeable so, the format should be converted when passing to the client application with different versions.
24
24
- The **simple** session token format is used by the .NET SDK V1
25
25
- The **vector** session token format is used by the .NET SDK V2.
26
26
@@ -41,6 +41,7 @@ To pass a session token to client using .NET SDK V1, use a **simple** session to
0 commit comments