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

From: Date: Tue, 03 Oct 2000 07:02:16 +0000
Subject: PHP 4.0 Bug #6488 Updated: session_unregister and session_destroy don't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-34060@lists.php.net to get a copy of this message
ID: 6488 Updated by: waldschrott Reported By: lrvazquez@megared.net.mx Status: Feedback Bug Type: *General Issues Assigned To: Comments: Does replacing $exit with TRUE work for you? Is this problem still present? Previous Comments: --------------------------------------------------------------------------- [2000-09-01 13:25:57] lrvazquez@megared.net.mx 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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6488

« previous php.dev (#34060) next »