On Dec 12, 6:39 am, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
Quote:
On Wed, 12 Dec 2007 03:15:19 +0100, <showandbesh...@gmail.comwrote:
>
Quote:
My php code generates the following line:
<input type="hidden" name="PHPSESSID"
value="36e197f92bsd34df4a6a20dkajkf10b4e4" />
>
Quote:
Because of this line I cannot validate my page as HTML 4.01 strict
(since the input tag is ended with "/>").
>
Quote:
I do not know how to force my code NOT to write the hidden-input-tag
in this way. It is important to mention that this line is generated
automatically. In other words, in my php code I do not have a line
which is intended to write the above shown problematic line (I think
that php writes this line because I use session).
>
ini_set('session.use_trans_sid',0);
>
--
Rik Wasmus
I put ini_set('session.use_trans_sid',false); in the first line of my
php source. But it does not prevent php from the writing the SID in
the hidden variables. Why? From the other hand, the usage of
the .htaccess with the included "php_flag session.use_trans_sid off"
helps.