# Maintaining Ignition Perspective Values

**URL:** <https://forum.inductiveautomation.com/t/maintaining-ignition-perspective-values/98895>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 20, 2024, 9:03pm UTC](https://forum.inductiveautomation.com/t/maintaining-ignition-perspective-values/98895 "2024-11-20T21:03:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew\_DeLuca](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Matthew\_DeLuca](https://forum.inductiveautomation.com/u/Matthew_DeLuca)\
**Post date:** [November 20, 2024, 9:03pm UTC](https://forum.inductiveautomation.com/t/maintaining-ignition-perspective-values/98895/1 "2024-11-20T21:03:59Z")

</div>

Using Ignition 8.1.43 to create Perspective pages that will be used within our production space by multiple people. These views are _Public_ and do not require authentication. I am looking for a way to persist values or selections within Perspective so when the browser is closed and re-opened the values load back in. From my understanding session props are only available while the session is open and once the browser is closed these go away. I was looking into using browser local storage or cookies, but it seems that because perspective scripts are gateway scoped this may not be an option. Any thoughts or ideas would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![David\_Stone](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/david_stone/32/79749_2.png) [@David\_Stone](https://forum.inductiveautomation.com/u/David_Stone)\
**Post date:** [November 20, 2024, 9:06pm UTC](https://forum.inductiveautomation.com/t/maintaining-ignition-perspective-values/98895/2 "2024-11-20T21:06:48Z")

</div>

If this is based on a particular computer in your local network, you may be able to use the client IP as a primary key for storing selections in a database table, and just load the table values on startup of the views.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [November 20, 2024, 9:43pm UTC](https://forum.inductiveautomation.com/t/maintaining-ignition-perspective-values/98895/3 "2024-11-20T21:43:55Z")

</div>

You can also use UDTs. Create the tags of the data you want to save, then instantiate the UDT with a unique id that corresponds to the username or some other identifier.

Periods cannot be used in tag names, so you'll have to get a little more creative than straight IP addresses.

Our HMIs are static IPs with dedicated subnets, so I use an expression that creates an ID like `Silo 24` where 24 is the last octet of the IP.

After that, bind the UDT tags to your props with bidirection on.

---

<div class="post-metadata">

**Author:** ![Matthew\_DeLuca](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Matthew\_DeLuca](https://forum.inductiveautomation.com/u/Matthew_DeLuca)\
**Post date:** [November 21, 2024, 7:31pm UTC](https://forum.inductiveautomation.com/t/maintaining-ignition-perspective-values/98895/4 "2024-11-21T19:31:56Z")

</div>

We most certainly can use a database to store these values and recall them again when the view is opened from that specific computer or user. Not sure how we can identify the client or the machine that opened the view though. The IP address is not static for PCs. I was hoping to be able to get the MAC address or even the user logged into Windows because users do not have to authenticate into these perspective pages.

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [November 21, 2024, 7:39pm UTC](https://forum.inductiveautomation.com/t/maintaining-ignition-perspective-values/98895/5 "2024-11-21T19:39:53Z")

</div>

You cannot get the MAC address from a browser. If you could it would be considered malware and quickly patched.

---

<div class="post-metadata">

**Author:** ![Noah\_Casey](https://avatars.discourse-cdn.com/v4/letter/n/e480ec/32.png) [@Noah\_Casey](https://forum.inductiveautomation.com/u/Noah_Casey)\
**Post date:** [November 21, 2024, 7:51pm UTC](https://forum.inductiveautomation.com/t/maintaining-ignition-perspective-values/98895/6 "2024-11-21T19:51:00Z")

</div>

I see quite a few answers here that have possibly helped you, I wanted to add if you can't go by specific IP addresses. You can use a parameterized URL

> **[Pages in Perspective | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/perspective/pages-in-perspective#passing-parameters---url-parameters)**
>
> Pages are the main method of navigation in Perspective. When talking about pages, there are two distinct objects to be aware of.

For example if you have a specific team working on values then that team can use a specific URL to load their data anywhere in the production space.  
Example:  
IgnitionGateway:8088/data/perspective/client/Project1/ATeam  
IgnitionGateway:8088/data/perspective/client/Project1/BTeam

As to how you would implement it you can user either a DB or UDTs to hold those values and load in other sessions.
