note 51958 added to language.oop5.decon

From: Date: Sun, 17 Apr 2005 03:30:02 +0000
Subject: note 51958 added to language.oop5.decon
Groups: php.notes 
Request: Send a blank email to php-notes+get-88094@lists.php.net to get a copy of this message
Before PHP reaches the point where it calls the __destruct functions, it has already done a session_write_close() so you can no longer write anything to the session. I wanted it to copy some variables from my class into the session once the script had finished but now having to get the last function to call a SaveToSession() function. In php versions 5.0.2 and 5.0.4 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.decon.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51958 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51958&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51958&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51958&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51958&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51958&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51958&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88094) next »