php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1946 Problem with php3 script not stoping after stop button
Submitted: 1999-08-02 14:54 UTC Modified: 1999-12-26 11:14 UTC
From: niks at siton dot org dot yu Assigned:
Status: Closed Package: Performance problem
PHP Version: 3.0.11 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
17 + 46 = ?
Subscribe to this entry?

 
 [1999-08-02 14:54 UTC] niks at siton dot org dot yu
I use PHP3 to write small WEB based chat system based on
MSql database. I have two frames, and one of frames is feed by
PHP3 that is running all the time. Every 3 sec.  it is checking 
database. I use ignore_user_abort() so that I can control which 
user is connected to chat room. After pressing STOP button in
browser, PHP3 script did not change status to ABORT, it is always NORMAL.  The same thing happend without ignore_user_abort() 
command. The script just query database every 3 secs even when I close the browser complitly.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-26 11:14 UTC] rasmus at cvs dot php dot net
ignore_user_abort(0) should do the trick - I have tested it extensively and it works as advertised
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 13:01:30 2024 UTC