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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ptemple at progressivepublishing dot com
New email:
PHP Version: OS:

 

 [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: Fri Apr 19 16:01:27 2024 UTC