I have it set in the config options, but I see in my who's online that sesson URLS are still showing.. I even turned on caching because it said it would turn off sessonids and there are still sesson ids!

I think this is why Google is not indexing my pages after two months..

Comments

yurg’s picture

Just add into your .htaccess file this string:

php_flag session.use_trans_sid off

--
http://itnovosti.ru - Russian site powered by Drupal.

Brian@brianpuccio.net’s picture

In the event the above doesn't work for whatever reason, there was a link to this page on phpsessid in the handbook for further reading.

Seraph-1’s picture

Adding: php_flag session.use_trans_sid off

Get me this:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@sexualforums.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at www.sexualforums.com Port 80

--------------------------------------------------------------------
SexualForums.com - Your leading Sex Forum
Free Sex Discussion Forum, News, Reviews, Articles, Journals and more!

heine’s picture

Use php_value in .htaccess eg:

  php_value session.use_only_cookies 1 
  php_value session.use_trans_sid     0

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

Seraph-1’s picture

That gives me a 500 error too...

--------------------------------------------------------------------
SexualForums.com - Your leading Sex Forum
Free Sex Discussion Forum, News, Reviews, Articles, Journals and more!

wdrupal’s picture

I tried those .htaccess modifications also and they didn't work. The server automatically delted them and said to make changes to the php.ini file.

Is the session ID problem a problem with the server configurations? Drupal and Civicspace work great on some servers, but on Bluehost I always get the sessions IDs.

[EDIT]

I just tried the modifications to the php.ini file listed on this page and it worked: http://baheyeldin.com/drupal/how-to-get-rid-of-phpsessid-in-drupal-and-o...

Seraph-1’s picture

If php.ini a file my host changes, or something I make myself? Where do I put it?

--------------------------------------------------------------------
SexualForums.com - Your leading Sex Forum
Free Sex Discussion Forum, News, Reviews, Articles, Journals and more!

Seraph-1’s picture

How do I install this patch?

http://drupal.org/files/issues/trans_sid.patch

--------------------------------------------------------------------
SexualForums.com - Your leading Sex Forum
Free Sex Discussion Forum, News, Reviews, Articles, Journals and more!

heine’s picture

Patch locally.

If you have Windows you need to download unxutils (http://unxutils.sourceforge.net/) or cygwin. Make sure the binaries directory is either in your path or fully referenced ( \[path]\user\local\wbin ). Download the patch,

You may need to convert line-endings using a unix2dos utility or a good text-editor.

Go to the directory of your local drupal installation. Issue the command

patch -p0 < path\the_patch.patch

Upload the modified includes/common.inc and sites/default/settings.php

--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

Seraph-1’s picture

Thank you very much! No more session IDs. I didn't watch to download that program so I copied the files over to my Linux machine. :)

--------------------------------------------------------------------
SexualForums.com - Your leading Sex Forum
Free Sex Discussion Forum, News, Reviews, Articles, Journals and more!

wdrupal’s picture

A great text editor for converting line-endings is SciTE. It's free and runs on Windows and Linux.

http://www.scintilla.org/SciTE.html