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

From: Date: Sun, 29 Oct 2000 03:30:44 +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-36298@lists.php.net to get a copy of this message
ID: 6488 Updated by: sniper Reported By: lrvazquez@megared.net.mx Status: Closed Bug Type: *Session related Assigned To: Comments: No feedback. And update to PHP 4.0.3pl1. Reopen this bug report if problem still exists with it. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-10-03 03:02:16] waldschrott@php.net Does replacing $exit with TRUE work for you? Is this problem still present? --------------------------------------------------------------------------- [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 (#36298) next »