Bug #14232 Updated: Crash of session_start() when client disables cookies and sends a form

From: Date: Thu, 06 Dec 2001 19:46:24 +0000
Subject: Bug #14232 Updated: Crash of session_start() when client disables cookies and sends a form
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-72787@lists.php.net to get a copy of this message
ID: 14232 User updated by: adnev@podvodnik.cz Reported By: adnev@podvodnik.cz Status: Open Bug Type: Reproducible crash Operating System: Win2000;Win98 PHP Version: 4.0.6 New Comment: After additional testing, I discovered that the problems comes from the output buffering. If output_buffering=Off, the problem does not persist. Previous Comments: ------------------------------------------------------------------------ [2001-11-26 09:47:07] adnev@podvodnik.cz The function session_start() produces an access violation (drWatson reports the fault in strnatcmp_ex). It happens when the client has disabled cookies. The only setting that prevents the crash is session.use_trans_sid=0, but than sessions are not handled for client without cookies allowed. I've tried a lot of combinations: to pass the PHPSESSID manually in a post/get variable (Input hidden ... =session_id();) but the problem remains the same. For win98, bothe cgi and module versions do not work, under w2k, Apache cannot load the module version (says "cannot find"), so I don't have any idea if the module version could work. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14232&edit=1

« previous php.dev (#72787) next »