If you have two pages A and B and you are direct from A->B if you dont want to come back to A using browser back button Add this code on content of page or head section of page.
Add Java script deceleration
function noBack() { window.history.forward(); }
noBack();
window.onload = noBack;
window.onpageshow = function(evt) { if (evt.persisted) noBack(); }
window.onunload = function() { void (0); }
end java script decleration
It works on IE,FF
Thursday, February 25, 2010
Subscribe to:
Posts (Atom)
How to generate Model class and DbContext from existing Data Base using .NET Core Open the Nuget Manage and run the following command Scaf...
-
Use Microsoft's ORCA tool This is provided as p art of the "Windows Installer SDK" which is part of the "Win dows Platfor...
-
http://blogs.iis.net/bills/archive/2009/01/13/how-to-run-windows-amp-iis-in-the-cloud-on-amazon-ec2-in-15-mins.aspx
-
http://abiyh.blogspot.com/2011/01/posting-javascript-array-using-jquery.html