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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC