Re: [PHP] when does php stop php executing when user clicks stop



On Dec 28, 2007 8:43 PM, Eric Wood <eric@xxxxxxxxxxxxx> 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.
.



Relevant Pages

  • Re: how to run scripts after a page has already loaded and been sent to a users browser?
    ... > It's because PHP is a server side scripting language, ... > do stuff before you send stuff to user's web browser. ... As we've discussed on this newsgroup before, if a script starts ... that is after the last HTML is sent to a web browser. ...
    (alt.php)
  • Re: PHP / MySQL
    ... Should I be able to click on a php file and have it ... I have Apache, MySQL servers running. ... running, you can type, http://localhost in your browser and get the ... develope your web sites, all of the applications that you use have ...
    (alt.os.linux.suse)
  • Re: PHP / MySQL
    ... Should I be able to click on a php file and have it ... I have Apache, MySQL servers running. ... running, you can type, http://localhost in your browser and get the ... develope your web sites, all of the applications that you use have access ...
    (alt.os.linux.suse)
  • Re: PHP / MySQL
    ... Should I be able to click on a php file and have it ... I have Apache, MySQL servers running. ... running, you can type, http://localhost in your browser and get the ... develope your web sites, all of the applications that you use have access ...
    (alt.os.linux.suse)
  • Re: PHP / MySQL
    ... Should I be able to click on a php file and have it ... I have Apache, MySQL servers running. ... running, you can type, http://localhost in your browser and get the default ... so if you want to use one of the html builders or one of the more elaberate ...
    (alt.os.linux.suse)