Re: PHP user session handlers
| From: | Glenn Richmond | Date: | Wed, 25 Oct 2006 11:20:16 +0000 |
| Subject: | Re: PHP user session handlers | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-26247@lists.php.net to get a copy of this message | ||
No, it's never worked as far as I know, but it doesn't mean it's not a bug. The session functions shouldn't have to be reset every time session_write_close or session_destroy is called. It's been logged previously at: http://bugs.php.net/bug.php?id=32330. It's also a consistent issue in varoius forums of major PHP projects.
Any idea on a solution for this one?
Regards,
Glenn.
Lukas Kahwe Smith wrote:
Glenn Richmond wrote:i.e. It still knows that it's a custom defined handler, but the references to the functions are gone. If I make a call to session_set_save_handler after the first session_write_close, the problem goes away. Of course, this isn't practical for a large number of sites.And this worked in previous releases? I am very certain that this was the bahviour on PHP4, not sure about 5.x though. regards, Lukas