On Fri, 7 Dec 2001 13:36:32 -0500, Ayres, David wrote: >Okay, I'm going to throw my laptop through a window in a second! >Why won't session_destroy() work? I can't be the only one with this >problem. >I know the session variables exist. I'm running PHP 4.0.6, anyone >else ever have this problem? Please let me know if there's some >sort of bug with this or something. Thanks! >
Running 4.0.5 here, but session_destroy works just fine. Only thing you need to do is to first initiate the session, with session_start, probably you also want to empty up those vars with session_unset, and the conclude the whole thing with session_destroy: session_start(); session_unset(); session_destroy(); Works like a charm... :) Regards, EGil -=// Egil Helland / IKON AS - MCSE, Internet, Intranet mailto:[EMAIL PROTECTED] http://egil.net //=- -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]