strange behavior
| From: | Martin Adler | Date: | Thu, 12 Sep 2002 12:33:50 +0000 |
| Subject: | strange behavior | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21710@lists.php.net to get a copy of this message | ||
Hi,
i start a session on a entrypage with a form,
and i wonder about the output to the browser.
There appeared a input-field of the type hidden
with the session-name as name and the
session-id as value.
How can I switch this PHP-behavior off?
CODE
<td>
<form name="focusedform"
action="index.php?<?=session_name().'='.session_id()?>" method=post>
<input type=text name="auth_username" size=22 maxlength=15>
</td>
OUTPUT
...
<td>
<form name="focusedform"
action="index.php?PHPSESSID=5ac37e23f46a3c2c1388201e3f4a951f"
method="post"><input type="hidden" name="PHPSESSID"
value="5ac37e23f46a3c2c1388201e3f4a951f" />
<input type="text" name="auth_username" size="22"
maxlength="15">
</td>
...
greet
Martin