Skip to content

Commit 91df384

Browse files
authored
Fix: Change from sessionStorage to localStorage
The docs still stated sessionStorage as being used, but it has been localStorage that has been used for quite some time now. Also corrected the mention of localStorage to start with lower case letter.
1 parent 640f46f commit 91df384

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/docs/browser/browser-monitoring/page-load-timing-resources/cookie-collection-session-tracking.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ redirects:
1313
freshnessValidatedDate: never
1414
---
1515

16-
Browser monitoring's [page load timing](/docs/browser/new-relic-browser/page-load-timing-resources/page-load-timing-process) feature can track sessions by using the sessionStorage API that can store a simple session identifier.
16+
Browser monitoring's [page load timing](/docs/browser/new-relic-browser/page-load-timing-resources/page-load-timing-process) feature can track sessions by using the localStorage API that can store a simple session identifier.
1717

1818
## How it works [#process]
1919

@@ -35,7 +35,7 @@ Session tracking will not work properly in these situations:
3535

3636
* If users have DOM Storage disabled in their browser.
3737
* If the browser or page is configured to **not** allow loading and execution of third-party origin scripts through security policies or other means (which naturally means the agent as a whole will not function).
38-
* Browser storage APIs such as LocalStorage are cleared during an active session
38+
* Browser storage APIs such as localStorage are cleared during an active session
3939

4040
## Enable or disable tracking [#settings]
4141

0 commit comments

Comments
 (0)