News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

How to delete PHPSESSID=XXXXXXXXXXXXX

Started by byhsz, February 02, 2012, 01:11:19 AM

Previous topic - Next topic

byhsz

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

byhsz

My English is very poor !
Search can not find the answer  :( :( :(
Need help ,
thank you !

Illori

you cant delete the phpsession id from the url and it is not recommended to try to do so.

byhsz

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 !

Illori

usually that means there is an issue with the browser accepting the cookies from the site.

byhsz


Joker™

If you like you can read this small write up on PHPSESSID
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

byhsz

/index.php/board,1.0.html?PHPSESSID=b3ki8u3lrbrm9ov6tbg83vbtq4

/index.php/board,1.0.html

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



Joker™

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?
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

byhsz

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 : hxxp:xxxx.com/index.php/board1.0.html?PHPSESSID=??????????? [nonactive]


I put the site back to us and FTP , you help me! Forum news to me to help me !

Illori

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.

byhsz

 :laugh: :laugh:
I understand ! Thank you to answer my friends ! I do not understand English , understand the error !

nend

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?

maestrosite.ru

#13
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
First of all, sorry for my english. По-русски у меня получается значительно лучше.

Проблема на форуме? Сначала посмотрите лог ошибок вашего форума и лог ошибок сайта (error_log)

You can try other modifications - see demo

Advertisement: