Based on the comment of LShetty:
A basic example of using localStorage could be seen here http://coding.smashingmagazine.com/2010/10/11/local-storage-and-how-to-use-it/
E.g. something along the lines
<script type="text/javascript">
$(document).ready(function(){
var counter = localStorage.getItem('counter');
if (counter == null) {
counter = 0;
}
counter++;
if (counter<=6) {
localStorage.setItem('counter', counter);
setInterval( function() {
window.location.reload();
}, 10000 );
}
})
</script>
Of course you could use a cookie for the same purpose, as you are going to store just a counter (way bellow the 4K limit of data stored in a cookie). For example you could utilize the createCookie and readCookie functions from the following article http://www.quirksmode.org/js/cookies.html