1
flyings
PHPSESSID
  • 2004/11/23 15:16

  • flyings

  • Just popping in

  • Posts: 5

  • Since: 2004/11/23


Hi,

I have trouble with my site, when I try to index it for use with a search engine Fluid Dynamics Search Engine v2.0.0.0072.

The problem is that the PHPSESSID variable is added to the url's, and it makes the search engine loop, or at least, makes it very very slow. It shows it has to index about 76000 pages, which is way too much.

I looked up some doc on the net, and I tried setting these settings in php files:
ini_set('session.use_trans_sid', 0);
ini_set('session.use_cookies', 1);

and these ones in .htaccess files:
php_flag session.use_trans_sid off
php_flag session.use_cookies on

but without any result. I also asked my host service to set the php settings right; they've done that.

I use XOOPS and xcgal on my site (http://www.flyingsnowman.com).

I pasted a copy herebelow with the myguestbook directory. You can see that the robot always takes the same directory , filename, and parameters, because the PHPSESSID is always different.

Is there any way to strip this PHPSESSID off by default?

thanks,

Eric

Admin Page / Rebuilding realm 'www.flyingsnowman.com':

Indexing website '^http\:\/\/www\.flyingsnowman\.com\/' for realm 'www.flyingsnowman.com':
Running in automatic mode on batch 28. Status: 270 documents indexed; 2 failed; 76068 waiting to be indexed.

Please wait patiently while pages are indexed. If this process times out, click here to restart it.

Crawling remote sites and updating the database may take a long time. Please be patient...

-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=a3e9fa01f24607a7ebb7368d31bf17c6'... took 0 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=b381c388722a9681068227843b37197b'... took 0 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=c950ac0dfe7c0e507975bc2262326999'... took 1 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=d05759710608182b9a0c562cff5f6e1f'... took 0 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=d121157861251baed9ab8e2bb9d6be57'... took 0 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=d12e9fd0e4f99fe678b16d8f7353e61e'... took 0 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=d396f45e6c64cd04f430773b56d4b59e'... took 0 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=e9781d618c364cb12a4c6fee360063f7'... took 0 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=e9a04c20d7eab797e97340f2a4209e65'... took 0 seconds.
-> Requesting 'http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=f8cac8c5be397401394fe4ca68e253c8'... took 1 seconds.

Finished crawling. Now parsing files and updating index...

1. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=a3e9fa01f24607a7ebb7368d31bf17c6 - 36KB - 23 Nov 2004 [ Updated existing record. ]

2. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=b381c388722a9681068227843b37197b - 36KB - 23 Nov 2004 [ Updated existing record. ]

3. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=c950ac0dfe7c0e507975bc2262326999 - 36KB - 23 Nov 2004 [ Updated existing record. ]

4. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=d05759710608182b9a0c562cff5f6e1f - 36KB - 23 Nov 2004 [ Updated existing record. ]

5. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=d121157861251baed9ab8e2bb9d6be57 - 36KB - 23 Nov 2004 [ Updated existing record. ]

6. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=d12e9fd0e4f99fe678b16d8f7353e61e - 36KB - 23 Nov 2004 [ Updated existing record. ]

7. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=d396f45e6c64cd04f430773b56d4b59e - 36KB - 23 Nov 2004 [ Updated existing record. ]

8. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=e9781d618c364cb12a4c6fee360063f7 - 36KB - 23 Nov 2004 [ Updated existing record. ]

9. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=e9a04c20d7eab797e97340f2a4209e65 - 36KB - 23 Nov 2004 [ Updated existing record. ]

10. *** Flying Snowman Productions - music compositions, recordings & productions - music software for the pc - website development *** [ Edit | Crawl | Delete ]

URL: http://www.flyingsnowman.com/modules/myguestbook/index.php?start=5&PHPSESSID=f8cac8c5be397401394fe4ca68e253c8 - 36KB - 23 Nov 2004 [ Updated existing record. ]

Crawler Finished
The crawler has indexed 10 web pages and is finished with this batch. The number of web pages per batch is controlled by the Crawler: Max Pages Per Batch setting.
There are now 534 web pages in the 'www.flyingsnowman.com' realm - 0 records created; 10 updated; 0 removed.

Continue:

This page should automatically refresh in 15 seconds in order to continue. If it does not, click here.

2
carnuke
Re: PHPSESSID
  • 2004/11/23 15:23

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Are you sure FDSE will crawl databases? I tried to use it myself once, but had problems. You may want to post on THEIR forums also about this.

3
tl
Re: PHPSESSID
  • 2004/11/23 15:27

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


You way want to try the following:

file: include/common.php
before
session_start();

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

Best method though is to set session.use_trans_sid off in php.ini, if you have access to it.

ini_set('session.use_trans_sid', 0);
usually does not work if your php is compiled as apache module

4
flyings
Re: PHPSESSID
  • 2004/11/23 22:51

  • flyings

  • Just popping in

  • Posts: 5

  • Since: 2004/11/23


Hi,

thanks for your suggestions.
I changed the common.php file, but it didn't have any effect.
I used the search engine before, prior to installing xcgal, and then it seemed to work less or more. It's just with myguestbook and xcgal that there are problems, I think. Maybe because they're the only ones using PHPSESSID?
I cannot change php.ini, don't have access to it...

5
flyings
Re: PHPSESSID
  • 2004/11/24 10:22

  • flyings

  • Just popping in

  • Posts: 5

  • Since: 2004/11/23


Hi,

I just wanted to let you know that the problem is fixed. I looked at the website of FDSE, and in their forum they suggested to make a rewrite url rule in their admin tool, which I did, and everything works fine now. The tool is written in Perl, and I think it just ignores the php settings. Anyway, it works now. Thanks to all!

Eric

6
flyings
Re: PHPSESSID
  • 2004/11/26 14:25

  • flyings

  • Just popping in

  • Posts: 5

  • Since: 2004/11/23


Forgot to mention the link to the solutions page:
http://forum.xav.com/viewtopic.php?t=852

Eric

Login

Who's Online

330 user(s) are online (266 user(s) are browsing Support Forums)


Members: 0


Guests: 330


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits