Unless you are running the application in multiple server environment,
http://search.cpan.org/~robm/Cache-FastMmap-1.09/ would be the best
choice. But probably you should read up on AJAX as well. It looks like
AJAX can help you accomplish what you are trying to do here.

Thanks,
Pratik

On 10/7/05, Foo Ji-Haw <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have a simple need where a process can take minutes to complete. But I
> want to display some progress bar of sorts to the user.
>
> My idea is to have the handler call the local url which does the heavy
> lifting. Something like this:
> http://localhost/job/dojob => launches =>
> http://localhost/job/actualjobworker
>
>
> The local url will set some global hash to say that it is still working on
> the job. The original handler (/job/dojob) becomes a polling script to check
> on the global hash to see if the work is completed.
>
> I read from the wiki that it is possible to have a 'global' variable where
> all process can read/write to it. Can someone point me in the direction? I
> tried perl.apache.org but can't find anything there. A url should do the
> trick.
>
> Thanks.


--
http://www.rails.info - Coming Soon !

Reply via email to