Preventing Session IDs showing up in URL

Advert test
I'm trying to use the.htaccess file to prevent session IDs showing up in the page URL. I added this to the .htaccess file:

php_value session.use_only_cookies 1
php_value session.use_trans_sid 0

However session IDs are still showing up... am I doing something wrong?