bredzhang / shellinabox

Automatically exported from code.google.com/p/shellinabox
0 stars 0 forks source link

Is there a way to make close sessions automatically after a period of inactivity? #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have noticed that sessions stay active if the browser window is closed 
without exiting.

Is there any way of making shellinabox automatically close sessions if they 
have been inactive for, say, thirty minutes?

Thanks

Original issue reported on code.google.com by gomez...@gmail.com on 29 Aug 2011 at 7:38

GoogleCodeExporter commented 8 years ago
There is an AJAX timeout of 45 seconds. If the server do not receive 
communication from the client every 45 seconds, the client is considered dead 
and its process killed. In theory it is very nice, but I often see process 
hanging around forever becoming zombies (happens especially with interactive 
processes like telnet or ssh for some reason). I think this aspect of 
shellinabox should be reenforced.

Original comment by decoy113...@gmail.com on 6 Mar 2012 at 10:30

GoogleCodeExporter commented 8 years ago
Duplicate.

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 10:46

GoogleCodeExporter commented 8 years ago
Duplicate.

Original comment by beewoo...@gmail.com on 31 Mar 2012 at 10:46