# Connect Sessions through iframe

**URL:** <https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 18, 2025, 11:16am UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478 "2025-02-18T11:16:52Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![mike.hoeneise](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mike.hoeneise](https://forum.inductiveautomation.com/u/mike.hoeneise)\
**Post date:** [February 18, 2025, 11:16am UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/1 "2025-02-18T11:16:52Z")

</div>

Hi,  
I want to create a perspecive app where i am embeding another perspecive project using a Inline frame.  
I have two questions:

1. is it possible that the sessions of these two projects are linked to each other or that they are sharing only one session and can exchange data with each other
2. how long does a session exist when is a session closed and removed from the server?

---

<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:** [February 18, 2025, 1:32pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/2 "2025-02-18T13:32:16Z")

</div>

1. Projects do not share sessions. If they both use the same Identity Provider, that Identity provider might offer seamless single sign-on.

2. Session expiration is configurable. (In project properties, IIRC.)

---

<div class="post-metadata">

**Author:** ![mike.hoeneise](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mike.hoeneise](https://forum.inductiveautomation.com/u/mike.hoeneise)\
**Post date:** [February 18, 2025, 1:55pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/3 "2025-02-18T13:55:25Z")

</div>

Alright thanks for the answer. since they cant share a session is there any way to share data accross these two projects?

So i can send data from the main project to the project displayed in the inline frame and the other way around.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [February 18, 2025, 1:57pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/4 "2025-02-18T13:57:52Z")

</div>

> **[system.util.sendMessage | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-util/system-util-sendMessage)**
>
> This function sends a message to clients running under the Gateway, or to a project within the Gateway itself.

---

<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:** [February 18, 2025, 2:05pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/5 "2025-02-18T14:05:30Z")

</div>

> [@mike.hoeneise](#):
>
> can send data

You really should reconsider this. It will be a nightmare to maintain. _ **Why** _ do you need separate projects?

---

<div class="post-metadata">

**Author:** ![mike.hoeneise](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mike.hoeneise](https://forum.inductiveautomation.com/u/mike.hoeneise)\
**Post date:** [February 18, 2025, 2:22pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/6 "2025-02-18T14:22:06Z")

</div>

We have a lot of views in our project and this project contains a lot of different topics like mes part management reports and so on. And now it became a bit to much so we started changing our project structure. We are spliting the different topics in seperate projects and want to make them accessible over a main project like a hub where you can select a app to open. If you have any other ideas i am open for ideas.

---

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [February 18, 2025, 2:26pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/7 "2025-02-18T14:26:15Z")

</div>

Instead of having an outer frame project, you might be able to put the "frame" into an inheritable project and inherit it to use as a dock in all your inner projects. It sounds like it's just for navigation so this way you can keep the parts isolated except for the shared navigation dock, which you can update in one place.

---

<div class="post-metadata">

**Author:** ![mike.hoeneise](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mike.hoeneise](https://forum.inductiveautomation.com/u/mike.hoeneise)\
**Post date:** [February 18, 2025, 2:42pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/8 "2025-02-18T14:42:13Z")

</div>

Okay here the main idea:

- A App\_Hub Project which has a list of apps like on a smartphone
- these apps are the different topics(MES, TR, Part, Report, ...)
- when a app is selected it openes the project in the inline frame

Why open it in a inline frame and not use navigate?

- when we use inline frame instead of navigate. We can go back to the app list and select other apps while using navigate jumps to another page and removes the possibility to go back and select another app.

I hope these thoughts are understandable.

---

<div class="post-metadata">

**Author:** ![Felipe\_CRM](https://avatars.discourse-cdn.com/v4/letter/f/dfb087/32.png) [@Felipe\_CRM](https://forum.inductiveautomation.com/u/Felipe_CRM)\
**Post date:** [February 18, 2025, 2:49pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/9 "2025-02-18T14:49:02Z")

</div>

> [@mike.hoeneise](#):
>
> removes the possibility to go back and select another app.

With what I am proposing, all your projects would also have the same inherited dock so you could jump to any project at any time.

---

<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:** [February 18, 2025, 3:00pm UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/10 "2025-02-18T15:00:32Z")

</div>

One project. Shared docked view for navigation. All pages will show the navigation unless you deliberately override it on a page-config by page-config basis.

Use pages instead of separate projects. Full stop.

---

<div class="post-metadata">

**Author:** ![mike.hoeneise](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mike.hoeneise](https://forum.inductiveautomation.com/u/mike.hoeneise)\
**Post date:** [February 19, 2025, 8:23am UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/11 "2025-02-19T08:23:42Z")

</div>

Ahh okay thanks that may be worth a try

---

<div class="post-metadata">

**Author:** ![mike.hoeneise](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@mike.hoeneise](https://forum.inductiveautomation.com/u/mike.hoeneise)\
**Post date:** [February 19, 2025, 8:24am UTC](https://forum.inductiveautomation.com/t/connect-sessions-through-iframe/102478/12 "2025-02-19T08:24:15Z")

</div>

Yeah thanks ai will try it
