osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Session Start Mod

This is a discussion on Session Start Mod within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Small fix - fix the contact us sending you to cookie_usage.php if no session before. This mod changes the behaviour ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Welcome to osCMax Join osCMax Now! Download osCMax Here
Reply

 

LinkBack Thread Tools
  #1  
Old 05-13-2007, 03:22 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,486
Thanks: 83
Thanked 356 Times in 334 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Session Start Mod

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
http://www.voice-amplifier.com




More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Tiny tweaks but not sure where to start steph07 osCommerce 2.2 Modification Help 2 01-31-2007 07:56 AM
Clean start for boxes.php james58 osCommerce 2.2 Discussion 2 05-05-2006 09:04 AM
SSL Errors, Session Cookie, Session Cache, NOVICE Problems? hanool osCommerce 2.2 Modification Help 1 09-07-2003 12:49 PM
Places to Start for Newbee JackKinCO osCommerce 2.2 Modification Help 1 06-03-2003 07:48 AM
where do I start?? laonux osCommerce 2.2 Modification Help 1 01-27-2003 10:23 PM


All times are GMT -8. The time now is 05:31 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax