Advertisement:

Author Topic: How to delete PHPSESSID=XXXXXXXXXXXXX  (Read 21055 times)

Offline byhsz

  • Newbie
  • *
  • Posts: 9
How to delete PHPSESSID=XXXXXXXXXXXXX
« 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

Offline byhsz

  • Newbie
  • *
  • Posts: 9
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #1 on: February 02, 2012, 01:20:14 AM »
My English is very poor !
Search can not find the answer  :( :( :(
Need help ,
thank you !

Offline Illori

  • Doc Coordinator
  • SMF Master
  • *
  • Posts: 35,850
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #2 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.

Offline byhsz

  • Newbie
  • *
  • Posts: 9
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #3 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 !

Offline Illori

  • Doc Coordinator
  • SMF Master
  • *
  • Posts: 35,850
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #4 on: February 02, 2012, 06:32:07 AM »
usually that means there is an issue with the browser accepting the cookies from the site.

Offline byhsz

  • Newbie
  • *
  • Posts: 9
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #5 on: February 02, 2012, 06:35:27 AM »
No problem, the browser!

Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,806
  • Gender: Male
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #6 on: February 02, 2012, 06:39:26 AM »
If you like you can read this small write up on PHPSESSID
Github Profile
My Mods
How to enable Post Moderation
Paid Support
Elkarte


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

All support seeking PM's get microwaved

Offline byhsz

  • Newbie
  • *
  • Posts: 9
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #7 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
 :'( :'( :'( :'(



Offline Joker™

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,806
  • Gender: Male
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #8 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?
Github Profile
My Mods
How to enable Post Moderation
Paid Support
Elkarte


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

All support seeking PM's get microwaved

Offline byhsz

  • Newbie
  • *
  • Posts: 9
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #9 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 : hxxp:xxxx [nonactive]..com/index.php/board-1.0.html
The real address is : hxxp:xxxx [nonactive]..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 !

Offline Illori

  • Doc Coordinator
  • SMF Master
  • *
  • Posts: 35,850
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #10 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.

Offline byhsz

  • Newbie
  • *
  • Posts: 9
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #11 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 !

Offline nend

  • Sr. Member
  • ****
  • Posts: 842
  • 2 deep n2 the code
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #12 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?

Offline maestrosite.ru

  • Semi-Newbie
  • *
  • Posts: 89
    • Сопровождение и модификация форумов SMF
Re: How to delete PHPSESSID=XXXXXXXXXXXXX
« Reply #13 on: February 10, 2012, 01:34:38 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
« Last Edit: March 05, 2012, 12:00:09 AM by maestrosite.ru »
First of all, sorry for my english. По-русски у меня получается значительно лучше.

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

You can try other modifications - see demo