Hi guys the only way I know is that if u want to disable the refresh button you can by using the ActiveXObject(...) and fiddling with the clients registry. I hope if there is any way in which I can mask the values in the registry temporarily on the client so that I can disable for a particular window.
As far as I know every window has a ClsId and the ActiveXObject can be called for that particular window instance and the button can be disabled. that is ms operating systems. What would happen if I am on linux or solaris. I think the story with linux and solaris would change.
The back button as I tried in
jsp can be locked by calling location.replace(url) method as history.current becomes equal to history.previous.
I also think that the refresh button depends on cache so I tried the followindg code but in vain....
<%
response.setHeader("Cache-Control", "no-store") //HTTP1.1
response.setDateHeader("Expires", 0);
response.setDateHeader("Date",0);
%>
but the curren window cache cannot be empty. I am trying some new methods as well. If I am successful I will do inform you.
Feign
feign_narula@hotmail.com