# \[BUG?\] Session Custom properties randomly disappear

**URL:** <https://forum.inductiveautomation.com/t/bug-session-custom-properties-randomly-disappear/82785>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 6, 2023, 2:56pm UTC](https://forum.inductiveautomation.com/t/bug-session-custom-properties-randomly-disappear/82785 "2023-12-06T14:56:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cole\_Townsend](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cole_townsend/32/53149_2.png) [@Cole\_Townsend](https://forum.inductiveautomation.com/u/Cole_Townsend)\
**Post date:** [December 6, 2023, 2:56pm UTC](https://forum.inductiveautomation.com/t/bug-session-custom-properties-randomly-disappear/82785/1 "2023-12-06T14:56:33Z")

</div>

Ignition Perspective 8.1.33  
Ran into this issue this morning and once about 6 weeks ago. Didn't ask anything about it then as it seemed like some one-off thing, but it happened again.

This morning, I came back into the office, I still had my designer instance open for my project, and it looked like it had some unsaved changes still pending to be saved (oops). I went ahead and saved it, and all seemed fine. I then opened a perspective session and tried to navigate around. I use a session property to handle some important navigation and utility functionality, so I noticed right away that I was having issues. I went back to the designer to check the session properties, as the last time I had this issue there were very similar symptoms. To my surprise, the session properties were still there it seemed. I then checked the logs, where I found some warnings that would line up with what I was expecting before.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/6/b626cffcd34e9b6ad50bf8f546f30a7fbda1a391.png)

It was strange to me that the perspective session was having trouble seeing the properties, but my designer session was not. After that, I restarted my designer session and lo-and-behold, the custom session properties had vanished.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/f/0f7eb9e67fdd14ace0f5b7dca1ef076aed91f270.png)

Glancing at my logs, it doesn't look like the issue happened until after I saved the project, which makes me think there is some bug with saving in long-lived designer sessions (this session was probably open 24 hours and while my machine was asleep).

This is far from the first time I worked on designer sessions that had been open longer than this, but it may be the first time I saved changes that were pending from yesterday. Hard to know. Does anyone have any insight as to what might have caused this issue?

Luckily I had a backup that I was able to reimport the session properties with, but otherwise, I would have had to recreate everything from scratch.

---

<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:** [December 6, 2023, 3:04pm UTC](https://forum.inductiveautomation.com/t/bug-session-custom-properties-randomly-disappear/82785/2 "2023-12-06T15:04:13Z")

</div>

If you let a workstation go to sleep while a designer is open, the gateway will kill off the designer's session eventually. When the designer wakes back up, it might not be current with anything else going on.

Not that this isn't a bug, but it seems like a dangerous practice to me.

---

<div class="post-metadata">

**Author:** ![Cole\_Townsend](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cole_townsend/32/53149_2.png) [@Cole\_Townsend](https://forum.inductiveautomation.com/u/Cole_Townsend)\
**Post date:** [December 6, 2023, 3:08pm UTC](https://forum.inductiveautomation.com/t/bug-session-custom-properties-randomly-disappear/82785/3 "2023-12-06T15:08:05Z")

</div>

Yes, my best solution at the moment is to just stop doing this. But figured I would mention it.

---

<div class="post-metadata">

**Author:** ![msteele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/msteele/32/77889_2.png) [@msteele](https://forum.inductiveautomation.com/u/msteele)\
**Post date:** [December 6, 2023, 3:53pm UTC](https://forum.inductiveautomation.com/t/bug-session-custom-properties-randomly-disappear/82785/4 "2023-12-06T15:53:38Z")

</div>

Yep this same behavior came back up today for me. I really need to switch these things over to `pageVarMap()` expression/script functions [https://www.automation-pros.com/toolkit/doc/scripting.html#pagevarmap](https://www.automation-pros.com/toolkit/doc/scripting.html#pagevarmap)

---

<div class="post-metadata">

**Author:** ![Cole\_Townsend](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cole_townsend/32/53149_2.png) [@Cole\_Townsend](https://forum.inductiveautomation.com/u/Cole_Townsend)\
**Post date:** [December 6, 2023, 4:15pm UTC](https://forum.inductiveautomation.com/t/bug-session-custom-properties-randomly-disappear/82785/5 "2023-12-06T16:15:32Z")

</div>

> [@msteele](#):
>
> I really need to switch these things over to `pageVarMap()` expression/script function

I'm not familiar with this module or its functions. Is this meant to be some way to define property bindings through scripting?

---

<div class="post-metadata">

**Author:** ![Shyam](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/shyam/32/42528_2.png) [@Shyam](https://forum.inductiveautomation.com/u/Shyam)\
**Post date:** [November 5, 2025, 11:00am UTC](https://forum.inductiveautomation.com/t/bug-session-custom-properties-randomly-disappear/82785/6 "2025-11-05T11:00:20Z")

</div>

Has this change resolved the issue? If yes, please share more details about it.
