Re: Stop process when user close window browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, June 30, 2006 4:54 am, weetat wrote:
>    Yes. I read the manual regarding the connection handling.
>    However ,in my php program , the execution did not stop , because i
> have logger which log sql statement "INSERT" statement when inserted
> data to database is ok .
>
> When i close the browser , the sql execution still running, statement
> is
> logged.
>
> Any idea how to stop it ? Because it cause my web page to be slow.

Instead of trying to stop it, just "Don't Do That"

Whatever it is you need the database to do, set something up to let it
do that task "later" while the user isn't stuck waiting for your
script.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux