Tag: Logout

JavaScript: Automatically Logout from all Open Tabs When User Logout in One of them

In a web application, When the user opens the application in multiple tabs and then log out from one of them, Current tab refreshed and shows the Login page. But what about other open tabs? Open tabs still showing last opened page, because those tabs don't know if User session terminated or not. In this … Continue reading JavaScript: Automatically Logout from all Open Tabs When User Logout in One of them

CakePHP 2.x : Disable back button after logout

In any web application, We manage session for storing user data when he/she logged in our application. And after login, every page is visible only if the session is active. Once user logout from an application we clear/abandon session and redirect to the login page. After logout, if a user clicks on the back button … Continue reading CakePHP 2.x : Disable back button after logout