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!
I have a very big problem. That is about to logout the system. The problem is everytime I logout the system, I must close the browser (IE) and re-open it again to login back into the system. If not, the global session variable still hold the value of username from login before. I also have tried to point to another page to logout with put 'session_unset()' to that page. But that's still not work. Anybody can help me pls??
just a tip with session_destroy() , people screw up on this all the time, make sure to include a session_start() before the session_destroy() or you will get and error