Implement Logout out from All Browsers after password changed ( Native PHP ) ?
I have reset password Button that make user able to change his password and after that he will be logged out from his current browser.
What I need is force all browsers to loggout, destroy the current session and redirect him to login page.
I was thinking in adding col in user's table, change it's value after change password and checking database at the top of every page, but ofcourse this will be bad performance.
what should i do else ? and ideas ? ( Native PHP )
Just a suggestion if you are not want to put the password into session, add the FLAG column like the status of the new password change if a password is changed then the FLAG value also get updated then from there you can process further. @ebrahemsamer