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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
47 - 35 = ?
Subscribe to this entry?

 
 [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: Thu May 02 20:01:31 2024 UTC