Page 1 of 1

phpsessid gettin tacked onto urls

Posted: Tue Nov 02, 2004 3:02 pm
by dull1554
ok i just got new hosting and ive started to try to validate my php/xhtml1.0 page i have no real errors but i get errors on all my links because when you look at the page phpsessid gets tacked onto the url of each link

looa at the errors....http://validator.w3.org/check?uri=http% ... ing.com%2F
thanks in advance

p.s. ive tried searchin but not too sure what i should be searching for.....
so even if you have a suggestion of what to search for let me know...thanks

Posted: Tue Nov 02, 2004 4:05 pm
by rehfeld

Code: Select all

// to make php use & instead of &

ini_set('arg_separator.output', '&');
to stop the sid completely

Code: Select all

ini_set('session.use_trans_sid', 0);