Page 1 of 1

Html error funcion.print.php

Posted: Mon Mar 07, 2005 3:48 pm
by piratos
If i validate my pages the w3 -validator found on all pages the same error:

Code: Select all

<a href="index.php?page=1&print=true&CMSSESSID=3bec8da9f2e4abab1ea1be2a075b7c98">
and this is the reason: &CMSSESSID=  , must call &CMSSESSID ....

Re: Html error funcion.print.php

Posted: Mon Mar 07, 2005 3:58 pm
by Ted
That's PHP's fault for trying to put on that "transparant" session id stuff...  I'll see if I can find a way to programmatically turn it off.

Re: Html error funcion.print.php

Posted: Mon Mar 07, 2005 8:40 pm
by Akrabat
ini_set( 'session.use_only_cookies', true );

Re: Html error funcion.print.php

Posted: Thu Mar 31, 2005 9:19 am
by piratos
That is it !!!:

if you have access to php.ini, make sure you change arg_separator.input and arg_separator.output to

arg_separator.input = '&'
arg_separator.output = '&'

You may be able to do this in an .htaccess file

php_value arg_separator.input '&'
php_value arg_separator.output '&'

As a last resort, you may be able to override it at the beginning of all your scripts in PHP itself

ini_set('arg_separator.input','&');
ini_set('arg_separator.output','&');