&nbsp;<BR>I&#039m developing an application in javascript and ASP and do not want the user to press the F5 key which would refresh the page and would cause my script to go haywire. how do i trap the key and give him some msg when the F5 key is pressed.<BR>hope some one helps me out in this<BR>thanx<BR>safz