# Check if a pageID is actually active

**URL:** <https://forum.inductiveautomation.com/t/check-if-a-pageid-is-actually-active/71964>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [April 3, 2023, 11:54am UTC](https://forum.inductiveautomation.com/t/check-if-a-pageid-is-actually-active/71964 "2023-04-03T11:54:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [April 3, 2023, 12:12pm UTC](https://forum.inductiveautomation.com/t/check-if-a-pageid-is-actually-active/71964/2 "2023-04-03T12:12:37Z")

</div>

> [@bruno.nunes](#):
>
> browser user opens 2 tabs and then closes 1, seems like the session info keeps the 2 pageIDs as active until a refresh is performed

No, there's a timeout. Browsers are not required to notify a server of tab closures, and generally don't. I think you are going to have missed notifications if you have to target only one page.

---

_[View the full topic](https://forum.inductiveautomation.com/t/check-if-a-pageid-is-actually-active/71964)._
