# Persistent web sessions

**URL:** <https://support.openanalytics.eu/t/persistent-web-sessions/2054>\
**Category:** ShinyProxy\
**Created:** [September 21, 2021, 2:21pm UTC](https://support.openanalytics.eu/t/persistent-web-sessions/2054 "2021-09-21T14:21:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![forcedtouseR](https://support.openanalytics.eu/letter_avatar_proxy/v4/letter/f/a9a28c/32.png) [@forcedtouseR](https://support.openanalytics.eu/u/forcedtouseR)\
**Post date:** [September 21, 2021, 2:21pm UTC](https://support.openanalytics.eu/t/persistent-web-sessions/2054/1 "2021-09-21T14:21:29Z")

</div>

I have a shiny application that sometimes needs to run for a long time. Of course, this was not a problem when the application was used inside a running VNC desktop, you close the VNC connection and log in again tomorrow, but I am trying to transition to serving the app on a web server through ShinyProxy.

Is it possible to start a session via ShinyProxy, close the browser and then relogin in a day or two, to find the launched process still running?  
If I am reading [this earlier comment on a different thread](https://support.openanalytics.eu/t/allow-for-multiple-sessions-per-user-app-combination/512/7) correctly, this would be possible, if the user does not log out and the heartbeat rate is long enough. Am I correct?

---

<div class="post-metadata">

**Author:** ![tdekoninck](https://support.openanalytics.eu/user_avatar/support.openanalytics.eu/tdekoninck/32/1079_2.png) [@tdekoninck](https://support.openanalytics.eu/u/tdekoninck)\
**Post date:** [October 12, 2021, 1:19pm UTC](https://support.openanalytics.eu/t/persistent-web-sessions/2054/2 "2021-10-12T13:19:25Z")

</div>

Hi

> If I am reading [this earlier comment on a different thread](https://support.openanalytics.eu/t/allow-for-multiple-sessions-per-user-app-combination/512/7) correctly, this would be possible, if the user does not log out and the heartbeat rate is long enough. Am I correct?

This is correct. In the next version of ShinyProxy (2.6.0) you can disable the cleanup of proxies on logout and also disable the cleanup of proxies by the heartbeat mechanism. See [https://shinyproxy.io/2.6.0-preview/downloads/](https://shinyproxy.io/2.6.0-preview/downloads/)
