It keeps putting this code into my pages and using PHPSESSID in the url.

Code:
<input type="hidden" name="PHPSESSID" value="7014c54b331dc42c9e2b96c2fb0cf94d" />
I tried:

Code:
ini_set('session.use_trans_sid','off');
But it still does it.

Any ideas how to get rid of it?

Edit:

Solved with .htacess file: php_flag session.use_trans_sid off