|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7683 session_destroy() does not function
Submitted: 2000-11-07 18:06 UTC Modified: 2000-11-07 23:53 UTC
From: svanpoeck at mailplanet dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.3pl1 OS: Win2K
Private report: No CVE-ID: None
 [2000-11-07 18:06 UTC] svanpoeck at mailplanet dot net
*** This bug report is related to BUG REPORT #5231 ***

Having upgraded to PHP-4.0.3pl1, I still encounter the problem described in bug #5231, although a statement was made that this should be fixed before release 4.0.3 (sic).

System info:
- No php.ini file (so defaults prevail)
- IIS 5.0 on Win2K Server (not Advanced~)
- PHP-4.0.3pl1 as isapi module
- Single site server (not online yet)

Observed behaviour:
- When trying to use session_destroy() after a session_start(), I get: "Warning: Session object destruction failed in D:\pcgi\exit.php on line 18"
- I then read that you can't delete a file when in use on Windows systems, so I omitted session_start(). session_destroy() then returned: "Warning: Trying to destroy uninitialized session in D:\pcgi\exit.php on line 18"

- I do not "use" the session before the session_destroy() call (no variables changed, no added nor unregistered)

Do you have a new release date for the fix ?



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-07 23:53 UTC]
fixed in cvs already, wait for 4.0.4
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC