# Perspective: How to cache information between client sessions

**URL:** <https://forum.inductiveautomation.com/t/perspective-how-to-cache-information-between-client-sessions/26939>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [July 29, 2019, 12:17am UTC](https://forum.inductiveautomation.com/t/perspective-how-to-cache-information-between-client-sessions/26939 "2019-07-29T00:17:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 29, 2019, 12:17am UTC](https://forum.inductiveautomation.com/t/perspective-how-to-cache-information-between-client-sessions/26939/1 "2019-07-29T00:17:25Z")

</div>

**EDIT: It isn't currently possible in 8.0.3, as confirmed by support, however I've added an idea suggestion if anyone wants to upvote it.**

> **[Cache data between Perspective sessions on same device | Ignition Features...](https://ideas.inductiveautomation.com/ignition-features-and-ideas/p/cache-data-between-perspective-sessions-on-same-device)**
>
> It would be super handy to be able to cache data between Perspective sessions. Things like user credentials (or just the username, but their encrypted password

I've asked this question before for the old Mobile Module: [Ignition Mobile Fixed Client Identifier](http://forum.inductiveautomation.com/t/ignition-mobile-fixed-client-identifier/16682)

I'm looking to do the same thing in Perspective. Is there a way to store cookies (or otherwise) on an end-user device so that I can re-use that data when they launch the client again?

I want to be able to cache user-logins so that users don't need to log in all the time.

Is this possible?

EDIT:  
looks like I posted about this twice...

> [@Is it possible to cache information for use between Perspective client sessions](http://forum.inductiveautomation.com/t/is-it-possible-to-cache-information-for-use-between-perspective-client-sessions/35493):
>
> I haven't looked into this at all, but thought I'd ask. I want to be able to cache certain things in the client's device such as login information and other configuration they might customise so I can reload it the next time they open the client. This would be mostly relevant to mobile devices. Is this possible? And if so, how would I do it? And if not, is it technically possible as a feature request? Even if I write this data into a database table stored on the gateway. Can I get the details …

---

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [September 6, 2023, 12:45pm UTC](https://forum.inductiveautomation.com/t/perspective-how-to-cache-information-between-client-sessions/26939/3 "2023-09-06T12:45:39Z")

</div>

Is that the part I need so that when a user goes to a menu, the page can recall which submenus were expanded or retracted?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 7, 2023, 2:16am UTC](https://forum.inductiveautomation.com/t/perspective-how-to-cache-information-between-client-sessions/26939/4 "2023-09-07T02:16:48Z")

</div>

Only if you want it to remember across sessions (e.g. reconnecting across days). If not, then session props are fine for remembering stuff within the same session
