Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP session.auto_start "on" on server

How can I work around it?


Longhaired Genius

11:21 am on May 8, 2003 (gmt 0)

10+ Year Member

I chose minibb for my forum because it doesn't use PHP session IDs that might interfere with Google indexing. But my host has session.auto_start set to "on" (heaven knows why) and now my forums have unwieldy urls like:

Is there anything I can do to avoid this in my PHP code or even with the mighty .htaccess. I wasn't thinking of rewriting the urls, but somehow turning off the session.auto_start for my pages.

Any help would be very welcome.


11:47 am on May 8, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Put this..
<IfModule mod_php4.c>
php_value session.auto_start 0

in your .htaccess file.

Longhaired Genius

12:04 pm on May 8, 2003 (gmt 0)

10+ Year Member

Yeah! Thanks, grahamstewart.

Featured Threads

Hot Threads This Week

Hot Threads This Month