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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: niks at siton dot org dot yu
New email:
PHP Version: OS:

 

 [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: Thu Apr 25 04:01:38 2024 UTC