# Perspective Session Timeout

**URL:** <https://forum.inductiveautomation.com/t/perspective-session-timeout/33249>\
**Category:** Ignition Early Access\
**Created:** [March 19, 2020, 6:09pm UTC](https://forum.inductiveautomation.com/t/perspective-session-timeout/33249 "2020-03-19T18:09:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jramirez3](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@jramirez3](https://forum.inductiveautomation.com/u/jramirez3)\
**Post date:** [March 19, 2020, 6:09pm UTC](https://forum.inductiveautomation.com/t/perspective-session-timeout/33249/1 "2020-03-19T18:09:13Z")

</div>

I have my session timeout set to 1 second. In my shutdown session script I write to the logs. When I leave the session (go to URL outside my perspective project), it’s taking roughly 10 to 15 seconds for my shutdown script to run. I print to the logs and that’s how I know how long it actually takes.  
Any way this can be faster?

I see this in the logs first before my shutdown scripts write to the logs:  
ClientSession 19Mar2020 13:03:27 WebSocket disconnected from session.  
That is really fast, any way i can have code run at that point?
