BasketCleanup

Summary

Sets how the shopping baskets for expired and removed sessions are cleaned up.

Usage

 

BasketCleanup=cronjob|pageload

Description

If a user added some products into his basket and then stopped shopping (e.g. closed his browser window) without initiating the checkout process, the user's session will expire after a while. The eZ Publish session handling, which is based on the PHP session functionality, takes care about removing expired sessions from the database. It is also possible to remove sessions (either expired or not) using the "Setup - Sessions" part of the admin interface.

If the "BasketCleanup" setting is set to "cronjob" (default), removing a user's session from the database will not delete the shopping basket that was created during this session. These unneeded baskets can be cleaned up periodically by running the "basket_cleanup.php" cronjob.

If you specify "BasketCleanup=pageload", removing a user's session from the database (either automatically by session cleanup or manually by the site administrator) will delete the corresponding shopping basket. The "basket_cleanup.php" cronjob will not do anything. Please note that this configuration is not recommended for sites with many visitors because removing baskets on session cleanup will take a lot of time.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.