Re: Continue processing after redirect?
| From: | lallous | Date: | Sat, 17 Aug 2002 08:08:39 +0000 |
| Subject: | Re: Continue processing after redirect? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113063@lists.php.net to get a copy of this message | ||
Hello Rasmus,
Now that the topic has been brought,
How much long will the script keep running after the redirection request has
been made?
Doesn't that behaviour depend from browser to browser ?
Thanks,
Elias
"Rasmus Lerdorf" <rasmus@php.net> wrote in message
news:Pine.LNX.4.44.0208162204390.961-100000@www.lerdorf.com...
> Sure, in fact, that happens by default unless you explicitly exit or try
> to output something.
>
> On Sat, 17 Aug 2002, Jason Morehouse wrote:
>
> > Any ideas if it's possible to keep a script running for a short time
after a
> > client has been redireced?
> >
> > i.e:
> > <?
> > header("Location: http://php.net");
> > # contunue running...
> > mail("me@me.com", "Hey", "Hi!");
> > ?>
> >
> > Using Redhat Linux, Apache & PHP 4.2.2.
> >
> > Much thanks!
> > -Jason
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>