On Mon, 2005-10-17 at 11:16 -0400, Richard F. Rebel wrote: > When a user starts a program which takes a few seconds to run, and you > hit the stop button, then start another, the user is denied, which is > correct behavior. The problem is that the lock is never removed as the > cleanup handler never executes.
It sounds like you're jumping to conclusions to me. The cleanup handler does execute, even when the user presses stop, unless something catastrophic is happening like an actual segfault. My guess would be that something is going wrong with your MySQL code in the cleanup handler. I would put some debug information in there to see if the cleanup runs and see if it is trying to run the query. You could also turn on tracing, or run it in the debugger. > Also, where in the docs are you talking about in your message below. Right here: http://perl.apache.org/docs/1.0/guide/debug.html#Handling_the__User_pressed_Stop_button__case - Perrin