# \[IGN-2827\]Can You Terminate A Perspective Session from The Gateway?

**URL:** <https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 28, 2020, 6:40pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135 "2020-09-28T18:40:49Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![pnoeldner](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@pnoeldner](https://forum.inductiveautomation.com/u/pnoeldner)\
**Post date:** [September 28, 2020, 6:40pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/1 "2020-09-28T18:40:49Z")

</div>

Is it possible to stop a perspective session from the Ignition gateway. Because the Edge perspective module only allows one extra remote session, the customer is concerned someone will accidentally leave the application running and lock out other remote viewing. Any gateway functionality to solve this?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 28, 2020, 8:46pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/2 "2020-09-28T20:46:53Z")

</div>

There is no avenue for terminating a Perspective Session from the Gateway at this time, although we do have an open feature request to provide that option.

---

<div class="post-metadata">

**Author:** ![agavino](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@agavino](https://forum.inductiveautomation.com/u/agavino)\
**Post date:** [September 3, 2021, 9:56am UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/3 "2021-09-03T09:56:42Z")

</div>

HI @cmallonee,

Is there any update about that?

Thanks

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [September 3, 2021, 2:33pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/4 "2021-09-03T14:33:21Z")

</div>

No update. The internal ticket is still waiting to be worked on.

---

<div class="post-metadata">

**Author:** ![agavino](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@agavino](https://forum.inductiveautomation.com/u/agavino)\
**Post date:** [September 7, 2021, 6:34am UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/5 "2021-09-07T06:34:55Z")

</div>

One way is restarting module.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [September 7, 2021, 8:24am UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/6 "2021-09-07T08:24:01Z")

</div>

Maybe you could set a session expiration based on an inactivity timer ?

---

<div class="post-metadata">

**Author:** ![vrautomation](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/vrautomation/32/11155_2.png) [@vrautomation](https://forum.inductiveautomation.com/u/vrautomation)\
**Post date:** [April 21, 2022, 3:15am UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/7 "2022-04-21T03:15:37Z")

</div>

This feature would be very usefull when trying t understand which Perspective session is using too much CPU…  
We need this flexibility.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 21, 2022, 11:54pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/8 "2022-04-21T23:54:46Z")

</div>

I’ve noted more interest in the issue on the internal ticket.

---

<div class="post-metadata">

**Author:** ![Samuel\_McIntosh](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@Samuel\_McIntosh](https://forum.inductiveautomation.com/u/Samuel_McIntosh)\
**Post date:** [May 16, 2022, 3:31pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/9 "2022-05-16T15:31:53Z")

</div>

We’re running a project with limited perspective session licenses. It would be beneficial to have a method of disconnecting unused sessions on remote computers as an administrator so that we can free up licenses for use by others. Either a “disconnect session” or a session timeout parameter on projects would be pretty useful.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [May 16, 2022, 3:37pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/10 "2022-05-16T15:37:55Z")

</div>

Well…

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/e/1ef28ba86bed39ee7224210501e610e281a05e3c.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/8/589fcc81f2a51c0ccf2461bbb54c6b60d4ad7f51.png)

---

<div class="post-metadata">

**Author:** ![Samuel\_McIntosh](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@Samuel\_McIntosh](https://forum.inductiveautomation.com/u/Samuel_McIntosh)\
**Post date:** [May 16, 2022, 3:41pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/11 "2022-05-16T15:41:00Z")

</div>

Aha, thanks!

---

<div class="post-metadata">

**Author:** ![Ivan\_H](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ivan_h/32/28186_2.png) [@Ivan\_H](https://forum.inductiveautomation.com/u/Ivan_H)\
**Post date:** [June 7, 2023, 6:06pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/12 "2023-06-07T18:06:39Z")

</div>

We have a multiproject gateway and we have the same problem when retargeting between projects, using a script on a nav buttom from a Perspective client. Is there any news about the issue?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/4/6462246adcbfd3aa8d87ed39d4c743ec24fd0742.png)

---

<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:** [June 7, 2023, 6:38pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/13 "2023-06-07T18:38:28Z")

</div>

As of 8.1.23 you can remotely terminate Perspective sessions from the status section of the gateway web interface.

---

<div class="post-metadata">

**Author:** ![Ivan\_H](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ivan_h/32/28186_2.png) [@Ivan\_H](https://forum.inductiveautomation.com/u/Ivan_H)\
**Post date:** [June 8, 2023, 8:42pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/14 "2023-06-08T20:42:21Z")

</div>

Thanks for the update. Is possible terminate the sessions with a script?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 8, 2023, 9:54pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/15 "2023-06-08T21:54:58Z")

</div>

Yes, it's found [here](https://docs.inductiveautomation.com/display/DOC81/system.perspective.closeSession) in the docs.

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [July 6, 2023, 8:55am UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/16 "2023-07-06T08:55:08Z")

</div>

Does [system.perspective.closeSession](https://docs.inductiveautomation.com/display/DOC81/system.perspective.closeSession)  
works fully only from the version 8.1.23 onwards?  
I am using 8.1.21 and it does only work for the current session but when i specify session id of chrome browser session it does not work ☹

Any advice on that please?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [July 6, 2023, 3:54pm UTC](https://forum.inductiveautomation.com/t/ign-2827-can-you-terminate-a-perspective-session-from-the-gateway/39135/17 "2023-07-06T15:54:06Z")

</div>

Could you provide your code?
