Community Add-Ons

Maintainers: anxxxxxdry
Add file to this package
Top » Features

session lock
for osCommerce Online Merchant v2.2

When we use ajax to update our session variable in asynchronize way, there is an issue called session race update. in simple word: when we read the session, we need to assure that the session is up to date.

this contribution is taken from http://thwartedefforts.org/2006/11/11/race-conditions-with-ajax-and-php-sessions/

the only file that need to replace is catalog/include/function/session.php

Legend:  Download   Report

Expand All / Collapse All

wups, sorry.. anxxxxxdry 11 Sep 2007  

i mistyped for tep_href_link, this is for the new one

unknown function in previous contribution paranoiaparadise 6 Sep 2007  
session lock anxxxxxdry 5 Sep 2007