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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 04:01:29 2025 UTC