Re: Resampling images -- need lock ?
| From: | Alpár Török | Date: | Mon, 20 Apr 2009 14:24:19 +0000 |
| Subject: | Re: Resampling images -- need lock ? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291692@lists.php.net to get a copy of this message | ||
2009/4/20 kranthi <kranthi117@gmail.com>:
> 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