Hi There, I don't know if this is the actual problem.. But in your form action it looks off.
>>>> action="index.php?<?=session_name().'='.session_id()?> Would produce something that looks like: index.php?123455667784332 What I think you WANT to do is... action="index.php?SID=<?=session_name().'='.session_id()?> When I need to put php code into a url (form or link) such as a $rerturn_url I usual do something like: <form action="index.php?type_index=<?php echo $type_index; ?> method="post"> This would produce a url like: index.php?type_index=3 (assuming the type index selected was indeed 3) but you should understand what I mean. Don't know if this helps you at all but figured I'd take a shot. Regards, Aaron -----Original Message----- From: Martin Adler [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 12, 2002 8:34 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] strange behavior 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php