2009/4/20 kranthi <kranthi117@xxxxxxxxx>: > then u'll b needing a lock (a shared resource like a SESSION var will > do) even if u do it by javascript > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Session variables will not solve race conditions. I would either ignore the user abort, so script doesn't abort, you can use file locks, to make sure the scripts don't modify it at the same time -- Alpar Torok -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php