Spider Session Remover

Spider Session Remover 1.0

Spider Session Remover 1.0 Download Summary

  • Language: PHP
  • Platform: Windows / Linux / BSD
  • License: GPL - GNU Public License
  • Databases: MySQL
  • Downloads: 367
  • Released: Jun 13, 2007

Spider Session Remover 1.0 Description

This contribution uses Apache mod_rewite to look for specific spiders, and remove the
session (osCsid) from the URL, and return a '301' back to the spider.

Basically, if the spider tries to do this:

GET /www.example.com/product_info.php?products_id=24&osCsid=ac8d8926059625ecb8dd9115f91d5f8a

the Apache mod_rewrite will rewrite the url to be:

GET /www.example.com/product_info.php?products_id=24

and also return a "301" (Moved Permanently) to the spider.

The problem

You may use one of the following:

* 2-2MS2 "Prevent Spider Sessions" admin feature is set to true.
* SID Killer contribution (homepage
* Spider Killer for MS1 contribution (homepage

All of these features are very good, and aim to prevent spiders from adding an session ID (osCsid) to the url.

However, what if a spider started to crawl your website BEFORE you enabled one of the above features ? What can happen, is that the (previously) harvested URLS with SIDs in them will show as results in search engines. Afterwards, often many months later, you will still see the spider trying to access the the URLs it harvested earlier with the session ID in it.

In summary, URL's with sessions ID's were harvested PRIOR to any session disabling, and therefore these URL's are now indexed in search engines, and the spiders continue to re-visit your website using the URL's with the 'osCsid' in them.

The Solution

So, how do we remove these session ID's for the spiders that continue to use the previously harvested URL ? By the use of Apache mod_rewrite, look for the spider agent name, and if the condition is true, re-write the URL without the 'osCsid' in it, and ALSO return a "301" back to the spider.

What results from the mod_rewite

As to what the search engines will do, they'll see the 301-Moved Permanently response, re-fetch the page from the new (osCsid-less) URL given in that response, and, after a while, update their database to use the new URL.

Spider Session Remover Bookmark

Hyperlink code:
Hyperlink for Forum code:

Spider Session Remover 1.0 Script Download Notice

Top 4 Download periodically updates information of Spider Session Remover 1.0 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Spider Session Remover 1.0 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Session Regeneration

Session regeneration generates a new session id when the customer logs in or creates an account. This contribution eliminates problems with sessions recorded by spiders as the identifier is recreated for visitors during the login/create-account process.It also eliminates problems with duplicate sessions being used by different customers simply because everytime someone logins to his account the session ID changes while the cart contents are preserved. ...

Admin Session Lifetime

Session Lifetime is a SQL addin witch will allow ... side only to control the length of your session without loss of work due to interruptions during data entry. This requires MYSQL access. ...

Spider Killer for MS1

... it, just use the bugfix and the updated spider_configure file.You don't need this with MS2 and later ... similar way.There is a small Bug in the SpiderKiller I initialized the spiderkiller too late. I wrote in the installation guide that you should include the spider_configure.php at the end of the application_top.php. This is ...

Spider Friendly Redirect without Hesistation

... a storefront start!#2 - I noted search engine spiders and my rating were not up to par ... that redirects are not the way to gofor spidering to be effective.See the simple text file for solution! ...

Admin Login Password Manager Administrator

... 83 :// check to see if php implemented session management functions - if not, include php3/php4 compatible session classLine 84 :if (!function_exists('session_start')) { Please use without any problem. ...