Re: disable refresh button

2009-12-15 Thread flyingb...@gmail.com
why would u want to disable it? but f5 key is something like window.history.forward(1); document.attachEvent("onkeydown", my_onkeydown_handler); function my_onkeydown_handler() { switch (event.keyCode) { case 116 : // 'F5' event.returnValue = false; event.keyCode = 0; window.status = "We have d

disable refresh button

2009-12-15 Thread pgore
Hi . I have two simple questions , but I don't know how can implement it. First at all , we need to disable the refresh button and the key F5 , and I don't find the way. Second , we need , when pass more than 5 minutes , we need to invalidate the current session , killing some resources , like coo