ID: 6865 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Closed Bug Type: IIS related PHP Version: 4.0.0 Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2000-09-23 20:41:50] [EMAIL PROTECTED] 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"; ?> --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6865&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]