To prevents user to visit their last visited page disable browser back button
<script type="text/javascript">
window.history.forward(1);
//On clicking browser back button allows user to stay on same page.
To Disable refresh button of browser
please refer
http://forums.asp.net/t/1274340.aspx
may help