# How to store sticky data on page

**URL:** <https://forum.inductiveautomation.com/t/how-to-store-sticky-data-on-page/92047>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 18, 2024, 7:43pm UTC](https://forum.inductiveautomation.com/t/how-to-store-sticky-data-on-page/92047 "2024-06-18T19:43:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [June 18, 2024, 7:43pm UTC](https://forum.inductiveautomation.com/t/how-to-store-sticky-data-on-page/92047/1 "2024-06-18T19:43:21Z")

</div>

This is a long shot, But is there away to store data on page,  
such that when I exit that page, and later re-enter that page those data is the same as it was when I left page?

I do not want to store it on session, as I want this page to be independent on the same session.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 18, 2024, 7:46pm UTC](https://forum.inductiveautomation.com/t/how-to-store-sticky-data-on-page/92047/2 "2024-06-18T19:46:06Z")

</div>

That typically the job of either tags or a database. What are you really trying to do? And how would you determine if previously captured data should be shown?

---

<div class="post-metadata">

**Author:** ![Eugene49](https://avatars.discourse-cdn.com/v4/letter/e/c6cbf5/32.png) [@Eugene49](https://forum.inductiveautomation.com/u/Eugene49)\
**Post date:** [June 18, 2024, 7:51pm UTC](https://forum.inductiveautomation.com/t/how-to-store-sticky-data-on-page/92047/3 "2024-06-18T19:51:32Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/4/74e61f651249ada0d11b8311f64bc44c1a820801.png)

I have the above that drives query history.  
I can store this data on session. But every tab on my browser will show the same date (I don't want that).

Storing to tag is not an option, database too complicated as I need a unique key for this.

I was thinking of storing this to "Dock" View, since that view is always present.

I also was thinking if the browser, has a data store where I can store page scope data..

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 18, 2024, 8:27pm UTC](https://forum.inductiveautomation.com/t/how-to-store-sticky-data-on-page/92047/4 "2024-06-18T20:27:23Z")

</div>

Ah, sounds like you need my Integration Toolkit's `pageVarMap()` function.
