note 51958 deleted from language.oop5.decon by levim
| From: | levim@php.net | Date: | Tue, 18 Mar 2014 02:09:38 +0000 |
| Subject: | note 51958 deleted from language.oop5.decon by levim | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-198920@lists.php.net to get a copy of this message | ||
Note Submitter: rocco at bluora dot com dot au
----
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