in reply to Re: Managing a web form submission work queue
in thread Managing a web form submission work queue

knowmad,
I ended up using Parallel::ForkManager. It offers a few callbacks that can hook to custom code to verify this. Since this is a application specific type of verifiecation, I think the way it was abstracted in the module was perfect for my needs.

Hope this helps - L~R

  • Comment on Re: Re: Managing a web form submission work queue

Replies are listed 'Best First'.
Re^3: Managing a web form submission work queue
by knowmad (Monk) on Oct 08, 2004 at 13:04 UTC

    L ~ R,

    Thanks for your reply. I looked into Parallel::ForkManager but don't really see how you are using it to manage a work queue for a web application. Do you keep a forked process open until the user submits the form? Which callbacks are you using?

    Thanks for your feedback,
    William

      knowmad,
      My situation is different than yours. That is why I said it was perfect for my needs. I was using WWW::Mechanize for form submission and not users. The run_on_(start|finish|wait) were the callbacks I needed to make sure things were going properly. I am sorry this doesn't fit your situation, but it worked great for me.

      Cheers - L~R

        Hey L ~ R,

        OK, now I see what you are doing and why the Parallel::Forkmanager fit your needs. Thanks for the clarification. I'll try to post back to this thread when/if I implement a server-side solution to this problem.

        Regards, William