PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
To really log out, they would need (at least) an interaction with the server so it can destroy the session data associated with them. The quick and dirty log out would use Javascript to erase the browser's session cookie reference and change the URL to not have the session id in it.
Not absolutely. The URL you hit could be specifically built to destory the session data, or know to destroy it from the request data, or some other such things.