Since my site does not have any sensative user info, I just use a simple log in form that checks the name against the DB and then sets the use name as a session variable. So, I am ussing sessions. I also set a cookie that allows the user to use the site w/o logging in for a period of time.
So when they log out, I need the session to be destroyed (yes I know about session_destroy() and session_unregister(), but have no idea how to use them, if they even apply.) I also need the cookie changed or deleted. I would assume also, that whatever solution would provide for this type of log out will also prevent the user from still being logged in if they hit the back button or refresh the page.