Probably the easiest way is to add a meta-refresh
tag to your Layout:
<meta http-equiv="refresh" content="310">
This will tell the browser to refresh the page every 5 minutes and 10 seconds. If the browser refreshes.. your timeout will kick in and redirect the user.