For a process that takes a long time, I usually break the user interaction
& the processing apart.
For instance, when the user makes a submission from the browser interface,
the PHP takes the submitted data and stores it someplace on the file
system or in a database. This being a quick operation
age-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 19, 2001 3:38 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Stopping the browser from continuing to load
>
>
> Hi All-
>
> I have a script in which I use ignore_user_abort() to perf
Hi All-
I have a script in which I use ignore_user_abort() to perform some
extensive processing that
can take a few hours which there is no need for users to wait for.
I display a message saying their submission is complete and continue to run
the PHP script
in the background. It doesn't matter
3 matches
Mail list logo