Posted on Sunday 13th May 2007 at 02:04 PM | |
Diablosblizz Senior Member |
Hey, I made a ban script for my site. The only problem is that when they get forwarded back to the main login, I cannot kill the users sessions. I even tried forwarding them to the logout.php, but when they go there nothing shows up, and when they press login they are automatically back into the site. I was wondering how to completly kill the sessions. Here is my code if you need it: PHP Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php
Does anybody know how to fix this? Thanks! |
Posted on Sunday 13th May 2007 at 03:19 PM | |
ShadowMage Senior Member |
Hey, if you wish to kill the session then use: Code session_destroy(); |
Posted on Sunday 13th May 2007 at 04:01 PM | |
Diablosblizz Senior Member |
Thank you, this worked perfectly. |