Hi,
Just want to share an usefull function : disable or control back button on page
insert this lines in OnApllicationInit event :
echo “<script type=‘text/javascript’>
if( window.history && window.history.pushState ){
history.pushState( ‘nohb’, null, ‘’ );
$(window).on( ‘popstate’, function(event){
if( !event.originalEvent.state ){
history.pushState( ‘nohb’, null, ‘’ );
return;
}
});
}
</script>”;
Nac