PHP 4.0 Bug #6488: session_unregister and session_destroy don't work

From: Date: Fri, 01 Sep 2000 17:25:57 +0000
Subject: PHP 4.0 Bug #6488: session_unregister and session_destroy don't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-31607@lists.php.net to get a copy of this message
From: lrvazquez@megared.net.mx Operating system: Solaris 7.0, FreeBSD 4.1 PHP version: 4.0.2 PHP Bug Type: Session related Bug description: session_unregister and session_destroy don't work Well, I have seen many reports about this. I hope the fix to this. When I do session_unregister and session_destroy nothing happens. The file is there with the information of the variables registered. Code: First script : ------------------------- session_start(); $sesname = "name" ; session_register("sesname"); ------------------------- Second script: ------------------------- session_start(); if ($exit ) { session_unregister("sesname"); session_destroy(); } -------------------------- configure php... './configure' '--with-apache=/opt/apache_1.3.12' '--enable-versioning' '--without-mysql' '--with-sybase=/usr/local/freetds' '--without-gd' '--enable-track-vars' --with-system-regex' '--enable-trans-id' session.save_handler = files session.save_path = /tmp session.serialize_handler = php session.use_cookies = Off

« previous php.dev (#31607) next »