|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-21 09:49 UTC] nicos@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 06:00:01 2025 UTC |
Session is not destroyed with the code below. but when you remove the session_name() from both files it works properly. i tried on php v4.1.1+win2000 and php v4.2.2 on Linux. //anypage.php ob_start(); session_name('mySessID'); session_start(); ... //logoff.php ob_start(); session_name('mySessID'); session_start(); session_unset(); session_destroy(); header("Location: ".$host); ob_end_flush();