I\'m going to implement logout button in my PhoneGap application, which will return the user into authentication page (with cleared fields). For the button
I have never developed any PhoneGap, but in web applications you can use code below.
try window.location.replace(url);
window.location.replace(url);
after redirection there no way to go previous page.