From: [EMAIL PROTECTED] Operating system: RH Linux 7.3 PHP version: 4.3.0 PHP Bug Type: Session related Bug description: Passing PHPSESSID with POST when there's only one input in the form error
Hello! I'm upgrading from PHP 4.1.2 to 4.3.0 and a strange thing is happening to me. I've got a form with one and only one input: <form name="form1" method="post" action="somePage.php"> <input type="hidden" name="PHPSESSID" value="{FILLED_WITH_TEMPLATE_POWER}"> </form> When submitting the form, next page is unable to continue the session and I'm asked for a new login. Moreover, if I echo the session_id() result it contains a strange value like: <some_session_id>PHPSESSID=<the_same_session_id> instead of a single session_id. I'm not using enable-trans-sid and, the most surprising, works well if I add a second dummy input field in the form. Can anyone help me? Thanks in advance. Joan. -- Edit bug report at http://bugs.php.net/?id=21634&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21634&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21634&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21634&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21634&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21634&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21634&r=support Expected behavior: http://bugs.php.net/fix.php?id=21634&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21634&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21634&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21634&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21634&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21634&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21634&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21634&r=gnused