# Perspective session event and inherited project

**URL:** <https://forum.inductiveautomation.com/t/perspective-session-event-and-inherited-project/87804>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 24, 2024, 6:15pm UTC](https://forum.inductiveautomation.com/t/perspective-session-event-and-inherited-project/87804 "2024-03-24T18:15:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steven\_Cheron](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@Steven\_Cheron](https://forum.inductiveautomation.com/u/Steven_Cheron)\
**Post date:** [March 24, 2024, 6:15pm UTC](https://forum.inductiveautomation.com/t/perspective-session-event-and-inherited-project/87804/1 "2024-03-24T18:15:29Z")

</div>

Hello,

I have two projet. One for all my object I want to reuse in multiple project (inheritable), and one for my application which use some component created in the first one.

One of my components use a Session Event Message (system.util.sendMessage(..., scope = "S").  
The message event is created and call in my inheritable project.

But when I trigger the component in my application (second project) the event is fired twice.  
I put some logs in the component and the message event. The component send only one message, but the event is fired twice.

Can I use Session Event like this ?

Steven Cheron

---

<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:** [March 24, 2024, 11:46pm UTC](https://forum.inductiveautomation.com/t/perspective-session-event-and-inherited-project/87804/2 "2024-03-24T23:46:51Z")

</div>

No. Events defined in any inheritable project fire in all leaf projects that inherit from it. Define gateway or session events only in leaf projects.
