473,394 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How do I make sure full script gets executed?

people keep interrupting my script by pressing their Stop buttons. how can I
prevent?
Jul 17 '05 #1
3 1955
*** Joe Cybernet wrote/escribió (Wed, 14 Jan 2004 02:16:04 -0000):
people keep interrupting my script by pressing their Stop buttons. how can I
prevent?


I guess you can't do that with web apps. Actually, even regular apps
(Eudora, Word, Photoshop...) can always be stopped via task manager.
Furthermore, there can always be network failures and many other problems.
So you should rewrite your app to deal with that case.

Anyway, it if is important I suppose you can use your web app to launch a
non-interactive script in the background (just like when you type "nohup
wget www.site.com &" in a Unix command prompt).

--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #2
"Joe Cybernet" <no@no.ie> schrieb:
people keep interrupting my script by pressing their Stop buttons. how can I
prevent?


Have a look at the function ignore_user_abort().

Regards,
Matthias
Jul 17 '05 #3
thanks. that seems to work.

"Matthias Esken" <mu******************@usenetverwaltung.org> wrote in
message news:bu**********@usenet.esken.de...
"Joe Cybernet" <no@no.ie> schrieb:
people keep interrupting my script by pressing their Stop buttons. how can I prevent?


Have a look at the function ignore_user_abort().

Regards,
Matthias

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Damien Renwick | last post by:
I have a php script which simply stops midway through a while loop that processes records returned by a MySQL query. The HTML page continues trying to load the page but the php has stopped running...
4
by: Hal | last post by:
Can someone please tell me what is wrong with this script? <script language="JavaScript"> <!-- function HF_CloseAllChildren() { if (g_win1) != undefined { if ((g_win1) && !(g_win1.closed))...
3
by: Loui Mercieca | last post by:
I want to write a script to be executed whenever i build my web application in 'release' mode. What it does is that it gets the newly generated dll and places it in another folder. I tried to use...
1
by: Joseph Scoccimaro | last post by:
Currently I have a Greasemonkey script that adds a menu to the top of every page by adding its self to the DOM. I am having a problem when I visit a page with frames. The menu gets duplicated in...
3
by: Water Cooler v2 | last post by:
Questions: 1. Can there be more than a single script block in a given HEAD tag? 2. Can there be more than a single script block in a given BODY tag? To test, I tried the following code. None...
17
by: PJ | last post by:
Greetings... I have stumbled upon a small problem. I use Ajax to retrieve part of a page I need to update. I update a DIV element with the HTML contents I get from another page. It works...
11
by: rh00667 | last post by:
hi all, i'm confused now. how i can get the full path of an application? if myapp is in a directory which belongs to PATH, argv gives me the first token of cmd line, and not the real path of...
2
by: m19peters | last post by:
We have a script that I had to rework a little bit for 2005 that does a full backup for every database on the server... For some reason on some nights the script does not backup all databases......
3
by: eric | last post by:
Hi, What is the best way of triggering another script (through a url) within a background php script? I have a script whatever.php that gets called in the background by a mobile operator....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.