Re: [PHP] ignore-user-abort and connection-handling

This is a discussion on Re: [PHP] ignore-user-abort and connection-handling within the PHP General forums, part of the PHP Programming Forums category; On Thu, August 23, 2007 12:04 pm, Jason Pruim wrote: > One of these days someone is going to ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-27-2007
Richard Lynch
 
Posts: n/a
Default Re: [PHP] ignore-user-abort and connection-handling

On Thu, August 23, 2007 12:04 pm, Jason Pruim wrote:
> One of these days someone is going to get sick of hearing from me,
> but until that day comes I have another question :)
>
> I asked on a MySQL list about wether it's better to have 1 database
> with many tables, or many databases with 1 table for my address list
> application I'm writing.
>
> One of the people there asked me about "terminating the TCP
> connections and ensuring that each PHP script runs to completion" to
> keep the database in good condition.
>
> He recommened looking at the ignore-user-abort and connection-
> handling functions in php...
>
> So now the question, Do I have to worry if a user hits the stop
> button in their browser before the script finishes? Will It corrupt
> the database or causing undo havoc to my system?
>
> This is far past my knowledge, so references to how I would use
> something like that properly would be greatly appreciated! :)


It won't corrupt your data.

It could tie up MySQL connections and make your server slower, I suppose.

I'm not sure that ignore_user_abort is actually going to help,
however... Start reading, I guess.

--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:26 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0