[PHP] Problem with session_destroy() don't work

2003-10-12 Thread Kostas
Hi, I have a problem with destroing a session. I have made a login page and the login work ok. I register the things i want like that: I try to make the logout page like that: but it dont work. I have a.. PHP - 4.0.5 a.. MySQL - 3.23.32 a.. Apache - 1.3.14 a.. PHPMyAdmin - 2.1.0 a.. Perl - nsP

[PHP] Problem with session_destroy

2001-09-11 Thread Rosen
I have the code: "") {session_destroy();} } When the page loads the first time I receive error: "Warning: Session object destruction failed in main.php on line 9" but when I make "Refresh" of page, there is no error !! Can someone any ideas ? Thanks Rosen -- PHP General Mailing Lis