#23694 [Com]: Hidden input for session is invalid XHTML
| From: | bruno at ubik-fr dot net | Date: | Tue, 22 Jul 2003 16:51:22 +0000 |
| Subject: | #23694 [Com]: Hidden input for session is invalid XHTML | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-44517@lists.php.net to get a copy of this message | ||
ID: 23694
Comment by: bruno at ubik-fr dot net
Reported By: max at taupe dot breezeland dot com
Status: Wont fix
Bug Type: Session related
Operating System: Linux
PHP Version: 4.3.2RC3
New Comment:
Is that so difficult, writing <div><input type=..../></div> instead of
<input type="hidden" /> ?
Or is there any other reason why you don't want to fix it ?
Setting session.trans_sid to 0 is a way (not always possible) to solve
this problem but I just can't be sure that the user accept cookies.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2003-05-19 09:29:00] max at taupe dot breezeland dot com
I'm not asking for support, I'm submiting a bug.
PHP adds an <input> tag, not framed by a block element.
So it's a bug.
(I know that it can be configured in php.ini, but fisrtly it isn't a
good correction (because it merge 2 types of request, GET and POST),
secondly because often we havn't any acces to php.ini, and finally, if
you think taht it can be corrected, why does the default choise is the
bug one ?)
------------------------------------------------------------------------
[2003-05-19 07:14:09] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Can be configured in php.ini
------------------------------------------------------------------------
[2003-05-19 06:57:48] max at taupe dot breezeland dot com
When using session.use_trans_sid, a hidden input field containing the
session name and ID is placed right after the <form> tag. But this
makes the HTML invalid if you're using XHTML 1.1, or strict XHTML 1.0,
because it needs to be in a <div> or a <fieldset> for example.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23694&edit=1