[thelist] Re: PHP and problem validating XHTML strict page

Nathan Wright ominous at rmh-d.com
Wed Jul 10 10:15:02 CDT 2002


>Just as a semi-educated guess, it sounds like PHP is inserting
a field that
>contains the PHP session ID.  The only reason I can think of
that it would
>do this is that the site is configured to use URL rewriting to
propagate
>session IDs, which would be a setting in the INI
(session.use_cookies tells
>the server whether to use cookies or to rewrite URLs, and
>session.use_trans_sid tells it whether to automatically
rewrite URLs or make
>each page do it explicitly).  I would check the INI and see
what those
>settings are - it would not surprise me if that was the
problem.  If so, you
>can disable session.use_trans_sid to keep the form input from
appearing,
>though that will break sessions unless you manually rewrite
URLs etc to
>include the session id.
>Here's a URL:
>http://www.onlamp.com/lpt/a/php/2001/04/26/sessions.html

This sounds like the most likely solution. I'll give it a try.
Thanks to you and everyone who responded.

Nathan






More information about the thelist mailing list