Limit one instance per user?
Limit one instance per user?
Has anyone created a way that one can only have one open ImageMagick instance active at one time? I am getting server oops (restarts) from users stopping/refreshing an upload form and repeating the process. My first thought is to use $_SESSION as the class variable and to test it's presence or value. I sure there's a better way and some expert has experience with this.
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Limit one instance per user?
This is a web service usage limiting technique and has nothing to do with IM.
Usually it is done by session id's so that new requests from one user kills off, or otherwise controls older requests.
Usually it is done by session id's so that new requests from one user kills off, or otherwise controls older requests.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/