You need to destroy whatever hook your log-in script creates for the user's session. If your using session_open(), then use session_destroy(). If it's db/cookie managed, then delete the db entry or the cookie.
Can anyone help me??I have this website with a log in and log out menu for the user. All i want is that when the user has log out from his account,it will be redirected to the other page in the site and when the back button of the browser is press it will not go back to the account where the user status is still log in..
You need to destroy whatever hook your log-in script creates for the user's session. If your using session_open(), then use session_destroy(). If it's db/cookie managed, then delete the db entry or the cookie.
All web designers hate the internet. If I spend all day making/updating/looking at websites, why the hell would I want to deal with it outside of work?