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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sat May 04 14:01:32 2024 UTC