Forum Moderators: coopster

Message Too Old, No Replies

Hiding SID in the Url-Any suggestions?

         

moroose

3:45 am on Aug 20, 2007 (gmt 0)

10+ Year Member



Hi
I use this:

ini_set("url_rewriter.tags","");

but it diddnt work for me.the SID is still there in the url
Appreciate any help
Thank you

Habtom

4:49 am on Aug 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Add the following line to your .htaccess

php_value session.use_trans_sid 0

Habtom

moroose

5:22 am on Aug 22, 2007 (gmt 0)

10+ Year Member



Thank you Habtom
Actually,I already have

session.use_trans_sid

and

session.auto_start
set to:
Off
by default
So it makes no difference,the sid still shows on urls

Someone here gratefully suggested that I make sure I have the following settings:

session.use_cookies On
session.use_only_cookies On

But in my htaccess,I could not override
session.use_only_cookies Off

would turning "session.use_only_cookies" to on,would do the trick?