View Full Version : Session Start Mod

05-13-2007, 02:22 AM
Small fix - fix the contact us sending you to cookie_usage.php if no session before.

This mod changes the behaviour of osCommerce (i think same idea like sid killer) to stop it from creating a session
until a user goes to log-in or tries to buy a product.

The mod has been designed so that you can switch off 'force cookie usage'
in the shop configuration without appending a session ID to the query string.
That means that users without cookies switched on can still buy products.

The mod also changes the behaviour of 'add product' and 'buy it now' to move
them out of product_info.php and into their own PHP files.

This allows you to use robots.txt to disallow crawlers from hitting the login,
add product, and buy it now pages. What this means is that crawlers can spider
your site without creating a session, and without ever seeing a session ID.

It is also good for shared ssl when it is not possible to force coockies and still want to remove the oscid / sid. actually the link will be without the oscid / sid untill login/buy/add to cart

see it in action at

More... (http://www.oscommerce.com/community/contributions,2913)