Re: when does php stop php executing when user clicks stop
| From: | Daniel Brown | Date: | Sat, 29 Dec 2007 14:44:29 +0000 |
| Subject: | Re: when does php stop php executing when user clicks stop | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266356@lists.php.net to get a copy of this message | ||
On Dec 28, 2007 8:43 PM, Eric Wood <eric@interplas.com> wrote:
> Eric Wood wrote:
> > If database operations are underway when a user accesses a web page,
> > then user clicks stop on the browser, does the php stop immediately too?
> >
> > I'd rather the php continue behind the scenes to fullfill all the
> > actions I need it do to whether the user wants to see if happen or not.
> >
> > Overall I wonder how modphp keeps the code executing even if the browser
> > drops the connection via stop.
> >
> > Any insight is greatly appreciated.
> >
> > thanks,
> > -eric wood
> >
> >
> I pretty much found my answers over at:
> http://us2.php.net/manual/en/features.connection-handling.php
>
> thanks anyway,
You may also want to look into ignore_user_abort(), Eric.
--
Daniel P. Brown
[Phone Numbers Go Here!]
[They're Hidden From View!]
If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.