# \[Feature-13190\]How to terminate perspective session from mobile?

**URL:** <https://forum.inductiveautomation.com/t/feature-13190-how-to-terminate-perspective-session-from-mobile/23396>\
**Category:** Ignition Early Access\
**Created:** [March 16, 2019, 3:42pm UTC](https://forum.inductiveautomation.com/t/feature-13190-how-to-terminate-perspective-session-from-mobile/23396 "2019-03-16T15:42:31Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [March 18, 2019, 5:08pm UTC](https://forum.inductiveautomation.com/t/feature-13190-how-to-terminate-perspective-session-from-mobile/23396/12 "2019-03-18T17:08:14Z")

</div>

I opened an internal feature request, but in the meantime (and assuming our implementation requires a user to manually trigger a session termination) you can rig something similar up:

1. Create a new Session custom property with a key of “retired” and set the value to `false`.
2. Place a Button which will be used to Terminate Session somewhere (most likely a Header/Footer which is always displayed).
3. When the Button is clicked, set `self.session.custom.retired` to have a value of `true`.
4. Now when your Session receives calls to update the GPS coordinates (from [Tracking perspective app coordinates](http://forum.inductiveautomation.com/t/tracking-perspective-app-coordinates/23285)), check against the `retired` session property, and if it is `false`, don’t send the response.

---

_[View the full topic](https://forum.inductiveautomation.com/t/feature-13190-how-to-terminate-perspective-session-from-mobile/23396)._
