ID: 41846 Updated by: [EMAIL PROTECTED] Reported By: aminehaddad at gmail dot com -Status: Open +Status: Feedback Bug Type: Session related Operating System: Debian Etch PHP Version: 5.2.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows (zip): http://snaps.php.net/win32/php5.2-win32-latest.zip For Windows (installer): http://snaps.php.net/win32/php5.2-win32-installer-latest.msi Previous Comments: ------------------------------------------------------------------------ [2007-06-28 22:43:53] aminehaddad at gmail dot com Description: ------------ I have page 1 which sets the session, also setting the cookie. Then page 2 which shows this cookie, and session, and 2 forms. The first form is short, and the second form is large (25x bigger than form 1). Both form actions point to page 3, which simply outputs the cookie/session. If you submit form 1, it will show you the phpsessid, and the session data. If you submit form 2, which is a rather large form, it will show you an empty cookie. It seems that it forgets the cookie depending on the amount of input you give (how large a form is). The problem has been reproduced several times, and I will attach (if possible) the source that reproduces this. Also, the exact version of php is: 5.2.0-8+etch4 Reproduce code: --------------- http://tremulous.endra.org/htdocs.tar Put those in your htdocs, and start with login.php. With form 1, page 3 will show your cookie, with form 2, it won't. Expected result: ---------------- I expect to see the cookie. Actual result: -------------- Array( ) instead of the array with the phpsessid in it. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41846&edit=1