ID:               21093
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Session related
 Operating System: Red Hat Linux 7.2
 PHP Version:      4.2.3
 New Comment:

Reported fixed, so we cloase it.


Previous Comments:
------------------------------------------------------------------------

[2003-01-01 04:21:19] [EMAIL PROTECTED]

I installed 4.3.0 and could not recreate the bug. The session ID is now
correctly added as a <input type="hidden" ...> field inside the <form>
</form> tags.

Still curious as to what was causing the bug, but since it's fixed I'm
quite happy to leave it at that.

Thanks!

------------------------------------------------------------------------

[2002-12-19 18:52:42] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip



------------------------------------------------------------------------

[2002-12-19 03:28:17] [EMAIL PROTECTED]

I have session.auto_start = 1 in my php.ini. I find that the SID is not
being added to a form's action="" value if the form contains a <input
type="image"> tag ...

This is a serious bug as it causes sessions to be lost if <input
type="image"> buttons are used in a form.

Pasted below is the output of PHP for one of my page swhere I use a
form and in it there is an <input type="image"> tag. As you can see the
SID is added to the src="" of the image but not to the action="" field
of the form, where I believe it is the right place to put it ...

Jc

<form name="write" action="/hashi/html/market/market.html" method="GET"
style="margin:0px";>
<input type="hidden" name="write_review" value="true">
<input type="hidden" name="body" value="details">
<input type="hidden" name="pid" value="489000401024">
<table width="650" border="0" cellspacing="0" cellpadding="0">
 <tr valign="top"> 
  <td width="65"> 
   <div class="marginleft20"><img src="img/yajirushi_review.gif"
width="25" height="42" alt=""></div>
  </td>
  <td width="445" valign="bottom"><span
class="size12">夢中になって見ました。そんな感動をあなたもカスタマーレビューへ書き込みませんか?カスタマーレビューではユーザーの生の反応をお伝えいたします。</span></td>

  <td width="140" valign="bottom" align="right"><input type="image"
name="toukou"
src="img/b_writereview.gif?PHPSESSID=046e74dbd20eca0eb4f2fce3896dbc5e"
width="118" height="23" alt="レビューを書く" border="0"></td>
 </tr>

</table>
</form>

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21093&edit=1

Reply via email to