# Browser App Disconnect Question

**URL:** <https://boards.straightdope.com/t/browser-app-disconnect-question/757618>\
**Category:** Factual Questions\
**Created:** [June 17, 2016, 4:51pm UTC](https://boards.straightdope.com/t/browser-app-disconnect-question/757618 "2016-06-17T16:51:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dolphinboy](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/dolphinboy/32/330_2.png) [@dolphinboy](https://boards.straightdope.com/u/dolphinboy)\
**Post date:** [June 17, 2016, 4:51pm UTC](https://boards.straightdope.com/t/browser-app-disconnect-question/757618/1 "2016-06-17T16:51:15Z")

</div>

I am also asking our IT folks, but I wanted to ask the larger community since someone may have previous experience with this.

We run a version of [Salesforce.com](http://Salesforce.com) for our Customer Support organization. It works great for us and has a browser-based user interface. We have a situation where someone is logged into Salesforce and their browser crashes (or they simply close it), and Salesforce doesn’t automatically log them out. From Saleforce’s perspective the user is still active, which causes issues when routing things like collaborations.

Is there a way for an application to detect that someone has closed their browser, severing their connection. and then log them out? It may not be technically feasible to do that, but I was just curious.

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [June 22, 2016, 12:02pm UTC](https://boards.straightdope.com/t/browser-app-disconnect-question/757618/2 "2016-06-22T12:02:24Z")

</div>

No reason you couldn’t write something that would notice if the browser was no longer running and then send the logoff command, but it would pretty much have to be custom-made.

And such would be unusual. Far more common would just be to have the system timeout if no request has been received in a certain amount of time. Even our forums here work that way.

---

<div class="post-metadata">

**Author:** ![Reply](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/reply/32/15952_2.png) [@Reply](https://boards.straightdope.com/u/Reply)\
**Post date:** [June 24, 2016, 1:30am UTC](https://boards.straightdope.com/t/browser-app-disconnect-question/757618/3 "2016-06-24T01:30:52Z")

</div>

Salesforce: modify session timeout  
[https://help.salesforce.com/htviewhelpdoc?id=admin\_sessions.htm](https://help.salesforce.com/htviewhelpdoc?id=admin_sessions.htm)
