ID: 21634
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Session related
Operating System: RH Linux 7.3
PHP Version: 4.3.0
New Comment:
I am experiencing the same problem. Here's the script:
------------------------------------------------------
<html>
<body>
<FORM method=post>
<INPUT TYPE="text" NAME=value>
<INPUT TYPE="submit" VALUE="submit">
</FORM>
</body>
</html>
<?
error_log("value: $value");
?>
------------------------------------------------------
after form is submitted with input, say, XXX, here's what is written to
error log:
value: XXXvalue=XXX
Changing the script to have more than one input value fixes the problem
(value is set to XXX).
I am using apache 2.0.43 and PHP 4.3.0 (DSO). Needless to say, I have
register_globals set to "on".
Previous Comments:
------------------------------------------------------------------------
[2003-01-14 19:16:11] [EMAIL PROTECTED]
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2003-01-14 09:18:34] [EMAIL PROTECTED]
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 this bug report at http://bugs.php.net/?id=21634&edit=1