Re: [PHP-DEV] PHP user session handlers

2006-10-25 Thread Lukas Kahwe Smith
Glenn Richmond wrote: look and see if I can come up with a fix in the mean time. Should it be re-logged as a bug to get it some more attention in the future? more bug reports are not going to help .. just append the existing one with a patch. regards, Lukas -- PHP Internals - PHP Runtime D

Re: [PHP-DEV] PHP user session handlers

2006-10-25 Thread Glenn Richmond
ok, sure. I'm a little more familiar with the php code base now than when I first looked at the bug a few weeks ago, so I'll have another look and see if I can come up with a fix in the mean time. Should it be re-logged as a bug to get it some more attention in the future? Regards, Glenn. Lu

Re: [PHP-DEV] PHP user session handlers

2006-10-25 Thread Lukas Kahwe Smith
Glenn Richmond wrote: 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 con

Re: [PHP-DEV] PHP user session handlers

2006-10-25 Thread Glenn Richmond
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 varoiu

Re: [PHP-DEV] PHP user session handlers

2006-10-25 Thread Lukas Kahwe Smith
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

Re: [PHP-DEV] PHP user session handlers

2006-10-25 Thread Glenn Richmond
Done, I've just tested on PHP Version 5.2.0RC7-dev (today's snapshot) and get the same result. The code is: session_start(); $_SESSION['testing'] = $contents; session_write_close(); unset($_SESSION['testing']); session_start(); $newcontents = $_SESSION['testing']; session_write_close(); Ther

Re: [PHP-DEV] PHP user session handlers

2006-10-25 Thread Antony Dovgal
On 10/25/2006 01:04 PM, Glenn Richmond wrote: Hi guys, Just wondering what the status of the user-defined session handlers is? I don't think it makes any sense to ask such questions on the list, for the answer in most cases is "they are doing fine, thank you". Just grab the latest snapshot, t