How do I stop PHPSESSID from being appended to URLs? Anyone have any tips?
You're going to have to give us some more information. Where are you seeing this phpsessid? Are you using a 3rd party app like Mambo or Drupal, or...? Give us some more information and maybe a link as well.
--Matttailart.googlies.net - personal website
That's not a function of PHP. It's the script you're using that's doing this. Authors do this to get around the possibility users might not have cookies enabled.
yerba# rm -rf /etcyerba#
I thought I read in one of the php books, that the session is stored in the url if the user has cookies disabled. Silk
I normally throw up a htacess file with the following:
php_flag session.use_trans_sid off
That usually gets rid of it. But that method isn't working on Dreamhost servers.
That is because that method only works on mod_php installs. DH is using PHP CGI.
really? interesting. You could be right. But I do know there's apps that puts it up there regardless (phpBB)
Well... anyone know of a way to get rid of it when PHP runs as CGI?
Just a guess, but wouldn't mod rewrite take care of it. There are some tutorials somewheres about beautifying urls.Silk