why would u want to disable it?
but f5 key is something like
<script>
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 disabled F5";
break;
}
}
</script>
kill session just set the session time in the server.
On Dec 14, 11:43 am, pgore <[email protected]> wrote:
> 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
> cookies.
> I hope some one can help us.
> Thanks.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.