Any visitor to Magento store, Magento will create separated session for vistor, so these sessions will be very big size if you don’t clean up sessions. This Magento Clean Up Session extension allows you to schedule a cleanup of Magento session storage (only files and database are supported).

Convenient when you can not edit php.ini (to configure session garbage collector) or do not want to use a scheduled bash script.

Magento – Clean Up Session extension Compatibility

Tested on Magento CE 1.6 – 1.9

Notes

  • Free and open source
  • Fully configurable
  • Bundled with English, French and Dutch (thanks to Michel van de Wiel) translations

Installation

No Magento files will be modified, no extended class, no overridden method.

Manually

  • Download the latest version of this module Magento – Clean Up Session extension
  • Unzip it
  • Move the “app” folder into the root directory of your Magento application, it will be merged with the existing “app” folder

With modman

$ modman clone git@github.com:aurmil/magento-cleanup-session.git

With composer

Adapt the following “composer.json” file into yours:

{
    "require": {
        "aurmil/magento-cleanup-session": "dev-master"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "http://packages.firegento.com"
        },
        {
            "type": "vcs",
            "url": "git://github.com/aurmil/magento-cleanup-session"
        }
    ],
    "extra": {
        "magento-root-dir": "./"
    }
}
  • Install or update your composer project dependencies

Magento – Clean Up Session extension Usage

In System > Configuration > Advanced > System, this extension adds a new group: Session Cleaning.

Default values enable session cleanup task, daily at midnight.

You are free to change these settings and set an email address to receive log email if an error occurs.

0 Likes
484 Views

You may also like

Leave A Comment

Please enter your name. Please enter an valid email address. Please enter message.