//
-- this Script is for Logout Application while Clicking on Back
or Farward button in Browser
jQuery(document).ready(function ($) {
if (window.history && window.history.pushState) {
window.history.pushState('forward', null, './');
$(window).on('popstate', function () {
window.location.href = "/Account/LogOff";
});
}
});
0 comments:
Post a Comment