I am using Framework7 V1I have few pages which can be viewed only after logging in. After logout i have the following code:
$(’#logout’).unbind().click(function() {
loginfo = $(’#logout’).val();
$$.ajax({
type: “POST”,
url: ‘signout.php’,
cache: false,
dataType : “text”,
data: {loginfo : loginfo},
success: function(data)
{
var logoutsuccess = data;
logoutsuccess = JSON.parse(logoutsuccess);
if(logoutsuccess == “signout”)
{
mainView.router.loadPage({ url: ‘index.php’,force: true });
}
}
});
});
after logging out and if I press the android hardware back button, all the previous pages are displayed. I have tried all ways, including replies in this forum without any success. There are lot of people asking similar question and there seems to be no clear solution to this issue ??
Requesting help.