Thanks Egil, But I've tried everything and can not get it to work. I also can't get it to instantiate a session until I print the Session variables once to the HTML Page, then the session finally works. It's really strange (I just wish it were as stable as .Net). Thanks for your feedback...
David -----Original Message----- From: Egil Helland [mailto:[EMAIL PROTECTED]] Sent: Friday, December 07, 2001 6:07 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Has anyone gotten session_destroy() to actually work on Windows? 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] -- 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]