Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2002091

[PHP-DB] strange behavior From: Martin Adler (martin.adler <email protected>)
Date: 09/12/02

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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php