in reply to How to use Storable in CGI scripts
That offers no protection in a standard CGI environment. If you had multiple threads within this program it would be useful. In this case, there are multiple processes which could be accessing your file simultaneously. You'll need a filesystem-level mechanism to manage file locking. There are plenty of nodes that describe how to use flock appropriately.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How to use Storable in CGI scripts
by kingman (Scribe) on Nov 29, 2002 at 19:52 UTC | |
by shotgunefx (Parson) on Nov 29, 2002 at 20:06 UTC | |
by vek (Prior) on Nov 30, 2002 at 18:05 UTC | |
|
Re: Re: How to use Storable in CGI scripts
by kingman (Scribe) on Nov 29, 2002 at 19:14 UTC | |
by chromatic (Archbishop) on Nov 29, 2002 at 19:16 UTC |