ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-general
php-general
Re: [PHP] Stop process when user close window browser
by Richard Lynch other posts by this author
Jun 30 2006 12:19PM messages near this date
Re: [PHP] Stop process when user close window browser | Re: [PHP] Stop process when user close window browser
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
Thread:
Weetat
Thomas Munz
tg-php
Weetat
Richard Lynch
Tedd
Rasmus Lerdorf
Thomas Munz

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved