How do you disable the Ctrl+N/File->New options from browser windows, specifically for IE.
How much control do you have over the clients?
If you're just serving a page publicly on the WWW, then there's no way.
If you're running a kiosk or a classroom of computers or something, then you could probably hack something together to watch for instances of IE, and disable the menus and trap the Ctrl+N key combination.
Based on the comments, it sounds like you are trying to fix the symptom and not the problem itself. The approach you are hinting at is likely to be of limited use (only works in certain browsers) anyway.
I suggest you post the details of your duplicate session problem and let us take a crack at that.
Hi guys i am also looking for this, As per my knowledge we can disable only ctrl+N key for new window. Here is the code document.onkeydown = function() { alert(event.keyCode) if ((event.keyCode == 78) && (event.ctrlKey)) { alert ("No new window") event.cancelBubble = true; event.returnValue = false; event.keyCode = false; return false; } }
If any one have idea to diable new window option from browser menu bar through any code login, please provide me on urgent basis.
Abhay R.