Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: byhsz on February 02, 2012, 01:11:19 AM

Title: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: byhsz on February 02, 2012, 01:11:19 AM
index.php/board,1.0.html?PHPSESSID=puk8idt37de7ol7es3g5bk5rt0 How to delete  PHPSESSID

IIS 6.0  windows2003   
my php.ini
session.use_cookies   =   1
session.use_only_cookies   =   1

How to change Load.php ???

主页的任意url 后面带一个PHPSESSID =XXXXX
如何去掉  php.ini已经设置了
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path C:\windows\temp C:\windows\temp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: byhsz on February 02, 2012, 01:20:14 AM
My English is very poor !
Search can not find the answer  :( :( :(
Need help ,
thank you !
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: Illori on February 02, 2012, 05:58:42 AM
you cant delete the phpsession id from the url and it is not recommended to try to do so.
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: byhsz on February 02, 2012, 06:30:57 AM
Open the website url is the first time with PHPSESSID =XXXX
Refresh time  ok!

How to open the sites do not show the first PHPSESSID = XXXXX
??

php_value session.use_only_cookies 1
php_value session.use_trans_sid 0

.htaccess  Website the root directory Doesn't work !
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: Illori on February 02, 2012, 06:32:07 AM
usually that means there is an issue with the browser accepting the cookies from the site.
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: byhsz on February 02, 2012, 06:35:27 AM
No problem, the browser!
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: Joker™ on February 02, 2012, 06:39:26 AM
If you like you can read this small write up on PHPSESSID (http://www.simplemachines.org/community/index.php?topic=447402.msg3161988#msg3161988)
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: byhsz on February 02, 2012, 06:47:19 AM
/index.php/board,1.0.html?PHPSESSID=b3ki8u3lrbrm9ov6tbg83vbtq4

/index.php/board,1.0.html

index.php?board=1.0
:'( :'( :'( :'(


Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: Joker™ on February 02, 2012, 06:50:15 AM
See if you going to remove something already build, then for sure there are going to be some adverse effects. You can see here also I tried to explain those effect only

http://www.simplemachines.org/community/index.php?topic=447402.msg3161988#msg3161988

P.S - Whats so bad about PHPSESSID?
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: byhsz on February 02, 2012, 07:56:00 AM
Google crawling when PHPSESSID = XXXXXXXXXXXXX how to solve this problem!

I do not know English,Side of the translation of the side view!
We may not know what I mean,

I want the site link does not appear PHPSESSID = XXX, so that search engines love !
For example : http://xxxx..com/index.php/board-1.0.html
The real address is : http://xxxx..com/index.php?board=1.0
Instead of : http://xxxx.com/index.php/board1.0.html?PHPSESSID=???????????


I put the site back to us and FTP , you help me! Forum news to me to help me !
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: Illori on February 02, 2012, 07:59:04 AM
if you want a solution for your non-issue, dont pm people to get a reply, that is a sure way to get them to ignore you.
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: byhsz on February 02, 2012, 08:20:57 AM
 :laugh: :laugh:
I understand ! Thank you to answer my friends ! I do not understand English , understand the error !
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: nend on February 02, 2012, 10:42:19 AM
If you create a Google webmaster account you can set it as a tracking. This will tell Google to ignore it, ;). Also setting up a sitemap will probably help the search engines find real urls. ;)

I don't know without looking doesn't SMF use canonical for any url with PHPSESSID?
Title: Re: How to delete PHPSESSID=XXXXXXXXXXXXX
Post by: maestrosite.ru on February 10, 2012, 01:34:38 AM
Quote from: nend on February 02, 2012, 10:42:19 AM
If you create a Google webmaster account you can set it as a tracking. This will tell Google to ignore it, ;). Also setting up a sitemap will probably help the search engines find real urls. ;)

I don't know without looking doesn't SMF use canonical for any url with PHPSESSID?

Delete PHPSESSID from rel="canonical" mod - http://  maestrosite.ru/smf/maestrosite-canonical-0.2.tar.gz
[strike]I hope, after confirm this mod will be[/strike] Now this mod is available at custom.simplemachines.org - http://custom.simplemachines.org/mods/index.php?mod=3315