# Session Event Handlers on inheritable projects

**URL:** <https://forum.inductiveautomation.com/t/session-event-handlers-on-inheritable-projects/91140>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [May 30, 2024, 1:33pm UTC](https://forum.inductiveautomation.com/t/session-event-handlers-on-inheritable-projects/91140 "2024-05-30T13:33:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [May 30, 2024, 3:07pm UTC](https://forum.inductiveautomation.com/t/session-event-handlers-on-inheritable-projects/91140/5 "2024-05-30T15:07:21Z")

</div>

> [@pgmo](#):
>
> I've programmed a messageHandler in the _Session events_ section of each project, plus a messageHandler in each view of the project that must react to the message.

Note that there's two different 'messaging' systems at play, which causes lots of confusion, unfortunately.

`system.util.sendMessage` is the older, not-Perspective-specific, bus that was 'overloaded' to allow messaging to entire Perspective sessions. The _handlers_ for these messages are defined in 'Session Events', and as Phil noted - not generally suitable for participation in the project inheritance scheme **currently** ; _all_ your handlers, of any type, are all managed by a single project resource, so inheritance is "all or nothing". This is a limitation that we're going to address in 8.3, but worth noting right now.

`system.perspective.sendMessage`, and the component messaging _action_, meanwhile, are the _limited to Perspective_ message handling system. The handlers you define for these messages are those on individual Perspective components and views.

In other words: a `system.util.sendMessage` broadcast with a target of a specific session **will not** interact with a view or component message handler, even if it's set to 'session' listening scope.

That complication and/or the tricky interaction with project inheritance may be at the root of your issue here.

---

_[View the full topic](https://forum.inductiveautomation.com/t/session-event-handlers-on-inheritable-projects/91140)._
