Contributions
session lock
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
Expand All / Collapse All
i mistyped for tep_href_link, this is for the new one
the previous submission calls the function "tep_href_link_orori", which is an unknown function in the standard oscommerce contribution.
could you please explain what that function does?
(zip file contains this text only)
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
Note: Contributions are used at own risk.