homepage Welcome to WebmasterWorld Guest from 54.205.52.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
PHP session.auto_start "on" on server
How can I work around it?
Longhaired Genius




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

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:
href="index.php?action=vtopic&forum=1&PHPSESSID=eaee77a062cebc017a708b9212c81772"

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.

 

grahamstewart




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

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

in your .htaccess file.

Longhaired Genius




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

Yeah! Thanks, grahamstewart.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved