|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-10-03 02:58 UTC] waldschrott@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 07:00:01 2025 UTC |
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"; ?>