php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: svanpoeck at mailplanet dot net
New email:
PHP Version: OS:

 

 [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"

Precision:
- 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 ?

Thx,
Steven

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-07 23:53 UTC] dbeu@php.net
fixed in cvs already, wait for 4.0.4
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 16:00:02 2026 UTC