|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-14 09:18 UTC] jsegura at cromosoma dot com
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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 17:00:01 2025 UTC |
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".