ID: 19357 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: Session related Operating System: FreeBSD 4.5 PHP Version: 4.2.3 New Comment:
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-09-25 07:35:20] [EMAIL PROTECTED] If session files are not even created, I suggest using truss(1) like this: $ killall httpd $ truss httpd -X 2> logfile <..access a page which starts a session..> <..hit ctrl-c..> And then look for failed open() calls in the logfile.. ------------------------------------------------------------------------ [2002-09-22 23:35:35] [EMAIL PROTECTED] ...and you guessed it, sessions now come to life after a few restarts and head slaps. This behaviour is consistent with previous versions and some bug reports I've read trying to find out why sessions weren't working - there are reports on win32 that sessions just stop one day and never go again (I've had this) - altho it appears with this version they suddenly start. It still appears (after a few restarts) that they are a bit temperamental, sometimes going and sometimes not... cheeers for reading my ramblings - good luck! ------------------------------------------------------------------------ [2002-09-22 23:27:42] [EMAIL PROTECTED] ...and as if by magic, php4.2.3 starts sending cookies to the browser... but sessions are still not working. If the cookie exists on the browser I assume its getting sent correctly to php (old code works, cookie tests I did worked fine), so its somewhere in the apache/php side that things are getting messed up from my uneducated observations. ------------------------------------------------------------------------ [2002-09-22 23:03:11] [EMAIL PROTECTED] yes, I'm just going to say 'me too' - (and I voted etc.) but thought that I'd say that I'm using win32/php4.2.3/apache2.0.40 and no matter what happens there are no cookies sent to the browser at any time whether there is an auto or manually started session, and that sessions (obviously) do not work using cookies. I've tried changing all sorts of settings, including the safe modes, temp directories etc. - the old versions I had experienced trouble as well (sometimes working then stopping for no reason, then never going again) but I got around it using autostarted sessions etc. 4.2.3 does not go for me at all 4.2.2 took some doctoring to go, eventually stopped 4.1.1 took some doctoring to go, eventually stopped 4.0.6 worked ok from what I remember cheers for any fixes etc. and for your hard work on php :) ------------------------------------------------------------------------ [2002-09-19 13:23:33] [EMAIL PROTECTED] Built with --enable-debug doesn't produce any more information that without it.. nothing in the log. Installing php 4.1.2, everything works fine. Reinstall 4.2.3, no sessions. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19357 -- Edit this bug report at http://bugs.php.net/?id=19357&edit=1