To my knowledge you can't, but you can check the box "Log me on automatically at each visit" when logging in. Now you should stay logged in when refreshing the site, even if your current session ends and you became inactive. This requires cookies though and that your browser allows this for your site - check the browser options.