I didn't test it but looks nice. See:
http://www.experts-exchange.com/Web/Web_Languages/JavaScript/Q_20141475.html#6226625>Today I found one situation where we can't stop F5 behavior.
>
>After the page is loaded in the browser, when user presses the F5, it doesn't refresh the page. But while page is loading in the browser and user presses F5, it refreshes the page. Is there any way by which we can stop this behavior also?
>
>Thanks
>Ashok