#41846 [Csd->Bgs]: Cookies lost when form is large
| From: | scottmac@php.net | Date: | Fri, 29 Jun 2007 08:44:30 +0000 |
| Subject: | #41846 [Csd->Bgs]: Cookies lost when form is large | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114436@lists.php.net to get a copy of this message | ||
ID: 41846
Updated by: scottmac@php.net
Reported By: aminehaddad at gmail dot com
-Status: Closed
+Status: Bogus
Bug Type: Session related
Operating System: Debian Etch
PHP Version: 5.2.3
New Comment:
Not a PHP Bug -> Bogus
Previous Comments:
------------------------------------------------------------------------
[2007-06-29 05:59:19] aminehaddad at gmail dot com
Suhosin's fault. I apologize, I was sure I took it off.
------------------------------------------------------------------------
[2007-06-29 00:31:56] sniper@php.net
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
------------------------------------------------------------------------
[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