# I need to identify the Root cause of Perspective session TimeOut

**URL:** <https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 5, 2026, 12:03pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334 "2026-03-05T12:03:35Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samkcr](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Samkcr](https://forum.inductiveautomation.com/u/Samkcr)\
**Post date:** [March 5, 2026, 12:03pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/1 "2026-03-05T12:03:35Z")

</div>

Hi,

As per our configuration we haven’t configured any settings related to session timeout. We have developed the screens in perspective. In our TABs where the operator uses near by machines, it is getting automatically logged out. We checked in the gateway settings and Designer project properties there is no such settings we enabled. So how to troubleshoot this and what might causing this issue?

Need support here

Thanks

---

<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 5, 2026, 2:20pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/2 "2026-03-05T14:20:31Z")

</div>

Are your tablets going to sleep? That will break the connection. (Or a power saver suspending the app.)

---

<div class="post-metadata">

**Author:** ![Samkcr](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Samkcr](https://forum.inductiveautomation.com/u/Samkcr)\
**Post date:** [March 5, 2026, 5:50pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/3 "2026-03-05T17:50:35Z")

</div>

Hi,

Yes, We suspected that but it was disabled and it won’t go to Sleep or power saver. But I will cross check once again. Do we get the logs @ the time of logout? Or using any scripts we can write to the logs for each timeout. So that we can narrow down the behavior whether it is happening periodically.

---

<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 5, 2026, 6:10pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/4 "2026-03-05T18:10:33Z")

</div>

Yes, you can use the Perspective session shutdown event to diagnose this, but only from the gateway side. When it fires, you will need to examine the client.

---

<div class="post-metadata">

**Author:** ![Samkcr](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Samkcr](https://forum.inductiveautomation.com/u/Samkcr)\
**Post date:** [March 5, 2026, 6:32pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/5 "2026-03-05T18:32:13Z")

</div>

Ok Thanks

If I write the script to log the record for session timeout… We can able track this down…

let me check

---

<div class="post-metadata">

**Author:** ![Samkcr](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Samkcr](https://forum.inductiveautomation.com/u/Samkcr)\
**Post date:** [March 6, 2026, 1:01pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/6 "2026-03-06T13:01:52Z")

</div>

I have created the below script on Session shutdown and will try to monitor the behavior. I have included the session Id also along with message. Since there are multiple Tablets available need to identify from which session got logged out. Will that work? or is there any better handling?

```python
def onShutdown(session):
# Session Event Script: onShutdown
    logger = system.util.getLogger("myLogger_sessionmonitoring")
    session_id = session.props.id
    logger.infof("Session Logged Out_SessionId: %s", session_id)

```

---

<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 6, 2026, 1:05pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/7 "2026-03-06T13:05:24Z")

</div>

Consider putting a label in your docked menu (or make a shared docked view) that displays the session ID for easy comparison to the log.

---

<div class="post-metadata">

**Author:** ![Samkcr](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Samkcr](https://forum.inductiveautomation.com/u/Samkcr)\
**Post date:** [March 6, 2026, 3:22pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/8 "2026-03-06T15:22:11Z")

</div>

ok I will do that… As an alternate approach is it possible to keep the screen active by running gateway scripts periodically. So it avoids logout incase of operator inactivity

---

<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 6, 2026, 4:37pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/9 "2026-03-06T16:37:47Z")

</div>

No.

---

<div class="post-metadata">

**Author:** ![dillon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dillon/32/81537_2.png) [@dillon](https://forum.inductiveautomation.com/u/dillon)\
**Post date:** [March 6, 2026, 4:42pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/10 "2026-03-06T16:42:43Z")

</div>

Did you try to set your project timeout to 0 **and** your IdP timeout? I ran into this situation a couple times where the IdP timeout was still the default value and changing that to 0 solved their auto logout issue.

(By default, there are timeouts, so saying that settings have not been adjusted would mean it's working as intended)

---

<div class="post-metadata">

**Author:** ![Samkcr](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@Samkcr](https://forum.inductiveautomation.com/u/Samkcr)\
**Post date:** [March 6, 2026, 5:15pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/11 "2026-03-06T17:15:20Z")

</div>

Ok, I am not aware of this w.r.to IDP timeout. Where i need to set zero to this value ? So that I can try this option as well

---

<div class="post-metadata">

**Author:** ![dillon](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dillon/32/81537_2.png) [@dillon](https://forum.inductiveautomation.com/u/dillon)\
**Post date:** [March 6, 2026, 5:49pm UTC](https://forum.inductiveautomation.com/t/i-need-to-identify-the-root-cause-of-perspective-session-timeout/114334/12 "2026-03-06T17:49:03Z")

</div>

[The Ignition Documentation should be able to help walk you through that.](https://docs.inductiveautomation.com/docs/8.1/platform/security/identity-provider-authentication-strategy/configuring-identity-providers#configure-an-identity-provider)
