# Change session view from another session

**URL:** <https://forum.inductiveautomation.com/t/change-session-view-from-another-session/98778>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [November 19, 2024, 2:06pm UTC](https://forum.inductiveautomation.com/t/change-session-view-from-another-session/98778 "2024-11-19T14:06:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfolkes](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@rfolkes](https://forum.inductiveautomation.com/u/rfolkes)\
**Post date:** [November 19, 2024, 2:06pm UTC](https://forum.inductiveautomation.com/t/change-session-view-from-another-session/98778/1 "2024-11-19T14:06:38Z")

</div>

Wondering if anyone has done this and how they did it.

With a perspective session running displayed on big screen TV I would like to be able to use a tablet to select that session and force it to a different view. Generally what I was thinking was to have a tag that the TV session is looking at and change that tag value from a menu on the tablet session to trigger the TV session to change view.

---

<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:** [November 19, 2024, 2:08pm UTC](https://forum.inductiveautomation.com/t/change-session-view-from-another-session/98778/2 "2024-11-19T14:08:32Z")

</div>

`system.util.sendMessage()` should work.

---

<div class="post-metadata">

**Author:** ![rfolkes](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@rfolkes](https://forum.inductiveautomation.com/u/rfolkes)\
**Post date:** [November 19, 2024, 2:56pm UTC](https://forum.inductiveautomation.com/t/change-session-view-from-another-session/98778/3 "2024-11-19T14:56:01Z")

</div>

> [@pturmel](#):
>
> system.util.sendMessage

I think I would need to get the Session.id from the TV session to make sure the correct session gets changed. If I have multiple TV sessions running I want to be able to change a specific one.

---

<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:** [November 19, 2024, 2:58pm UTC](https://forum.inductiveautomation.com/t/change-session-view-from-another-session/98778/4 "2024-11-19T14:58:58Z")

</div>

If you can distinguish by IP address, then [system.perspective.getSessionInfo()](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-perspective/system-perspective-getSessionInfo) gives you everything you need, both for your remote table of choices, and the ID needed for the action.

---

<div class="post-metadata">

**Author:** ![rfolkes](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@rfolkes](https://forum.inductiveautomation.com/u/rfolkes)\
**Post date:** [November 19, 2024, 3:05pm UTC](https://forum.inductiveautomation.com/t/change-session-view-from-another-session/98778/5 "2024-11-19T15:05:36Z")

</div>

> [@pturmel](#):
>
> h for yo

I was just looking at that in the manual and thinking the same.

Display IP on the monitor, use session info to build dropdown on tablet with ID/IP - select IP and new view to display and send message / message handler to change view.
