php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6865
Submitted: 2000-09-23 20:41 UTC Modified: 2001-04-27 18:48 UTC
From: kamalahasan75 at yahoo dot com Assigned:
Status: Closed Package: IIS related
PHP Version: 4.0.0 OS: win nt
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: kamalahasan75 at yahoo dot com
New email:
PHP Version: OS:

 

 [2000-09-23 20:41 UTC] kamalahasan75 at yahoo dot com
we have been create session and register three variable name of variable is session_user_mail,session_password,session_order_no when user login.we try to destroy the register variable using the PHP script which one write below.but the session was not destroy please correct that code.
<?php
session_save_path("../temp//");//server path
session_start();
session_unregister('$session_user_mail');
session_unregister('$session_password');
session_unregister('$session_order_no');
if(session_destroy())
echo "session destroy";
?>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-03 02:58 UTC] waldschrott@php.net
this is dup without further information, #5231 reopened
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Jan 26 21:05:54 2023 UTC