phpsessid gettin tacked onto urls

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
dull1554
Forum Regular
Posts: 680
Joined: Sat Nov 22, 2003 11:26 am
Location: 42:21:35.359N, 76:02:20.688W

phpsessid gettin tacked onto urls

Post 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
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post 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);
Post Reply