php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6983 session_destroy() does not remove session
Submitted: 2000-10-03 00:10 UTC Modified: 2001-04-27 18:48 UTC
From: ptemple at progressivepublishing dot com Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.1pl2 OS: Windows 2000
Private report: No CVE-ID: None
 [2000-10-03 00:10 UTC] ptemple at progressivepublishing dot com
I cannot seem to log a user out using the following script:

session_start();
session_unregister('varname');
session_destroy();
Header("Location: <homepageurl>");

The session file does not get deleted and the user is not prompted for username/password upon returning to the protected page.

Ta,

Phillip.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-03 02:57 UTC] waldschrott@php.net
this is dup without further information, #5231 reopened
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC